summaryrefslogtreecommitdiffstats
path: root/includes.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2003-06-05 09:53:31 +1000
committerDamien Miller <djm@mindrot.org>2003-06-05 09:53:31 +1000
commit5fe46a45c834bf2e336d979e2ae755b94e01d707 (patch)
treee65443bf5183b99f97a28f7209011f60c2a620e0 /includes.h
parent0f68486a7673885ba2834af80fd14f1e3be16e8f (diff)
- (djm) Implement paranoid priv dropping checks, based on:
"SetUID demystified" - Hao Chen, David Wagner and Drew Dean Proceedings of USENIX Security Symposium 2002
Diffstat (limited to 'includes.h')
-rw-r--r--includes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes.h b/includes.h
index b968be7f..c30c3157 100644
--- a/includes.h
+++ b/includes.h
@@ -68,6 +68,7 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
#ifdef HAVE_NEXT
# include <libc.h>
#endif
+#define __USE_GNU /* before unistd.h, activate extra prototypes for glibc */
#include <unistd.h> /* For STDIN_FILENO, etc */
#include <termios.h> /* Struct winsize */