summaryrefslogtreecommitdiffstats
path: root/system/ksh-openbsd/patches/linux/sh_h.diff
blob: df6de9c4c983f139deed2c3db02dc3ba3e2fb66d (plain)
1
2
3
4
5
6
7
8
9
10
--- ksh-openbsd_cvs/sh.h	2010-02-23 12:49:21.000000000 +0100
+++ ksh-openbsd_cvs.new/sh.h	2010-04-01 21:01:24.135232661 +0200
@@ -16,6 +16,7 @@
 #include <stdbool.h>
 #include <stddef.h>
 #include <stdlib.h>
+#define __USE_GNU /* needed for setresuid() and setresgid() */
 #include <unistd.h>
 #include <string.h>
 #include <stdarg.h>