summaryrefslogtreecommitdiff
path: root/crypto/openssh/includes.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssh/includes.h')
-rw-r--r--crypto/openssh/includes.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/crypto/openssh/includes.h b/crypto/openssh/includes.h
index fa65aa38d6bb..520817400b5f 100644
--- a/crypto/openssh/includes.h
+++ b/crypto/openssh/includes.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: includes.h,v 1.19 2005/05/19 02:42:26 djm Exp $ */
+/* $OpenBSD: includes.h,v 1.22 2006/01/01 08:59:27 stevesk Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -21,6 +21,8 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "\100(#)" msg }
#include "config.h"
+#define _GNU_SOURCE /* activate extra prototypes for glibc */
+
#include <stdarg.h>
#include <stdio.h>
#include <ctype.h>
@@ -67,7 +69,6 @@ static /**/const char *const rcsid[] = { (const 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 */