diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | includes.h | 3 |
2 files changed, 5 insertions, 2 deletions
@@ -1,6 +1,8 @@ | |||
1 | 20051128 | 1 | 20051128 |
2 | - (dtucker) [regress/yes-head.sh] Work around breakage caused by some | 2 | - (dtucker) [regress/yes-head.sh] Work around breakage caused by some |
3 | versions of GNU head. Based on patch from zappaman at buraphalinux.org | 3 | versions of GNU head. Based on patch from zappaman at buraphalinux.org |
4 | - (dtucker) [includes.h] Bug #1122: __USE_GNU is a glibc internal macro, use | ||
5 | _GNU_SOURCE instead. Patch from t8m at centrum.cz. | ||
4 | - (dtucker) OpenBSD CVS Sync | 6 | - (dtucker) OpenBSD CVS Sync |
5 | - dtucker@cvs.openbsd.org 2005/11/28 05:16:53 | 7 | - dtucker@cvs.openbsd.org 2005/11/28 05:16:53 |
6 | [ssh-keygen.1 ssh-keygen.c] | 8 | [ssh-keygen.1 ssh-keygen.c] |
@@ -3373,4 +3375,4 @@ | |||
3373 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM | 3375 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM |
3374 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu | 3376 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu |
3375 | 3377 | ||
3376 | $Id: ChangeLog,v 1.4011 2005/11/28 06:05:40 dtucker Exp $ | 3378 | $Id: ChangeLog,v 1.4012 2005/11/28 11:28:59 dtucker Exp $ |
diff --git a/includes.h b/includes.h index 351dd2ac0..12d948b6f 100644 --- a/includes.h +++ b/includes.h | |||
@@ -21,6 +21,8 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "\100(#)" msg } | |||
21 | 21 | ||
22 | #include "config.h" | 22 | #include "config.h" |
23 | 23 | ||
24 | #define _GNU_SOURCE /* activate extra prototypes for glibc */ | ||
25 | |||
24 | #include <stdarg.h> | 26 | #include <stdarg.h> |
25 | #include <stdio.h> | 27 | #include <stdio.h> |
26 | #include <ctype.h> | 28 | #include <ctype.h> |
@@ -67,7 +69,6 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "\100(#)" msg } | |||
67 | #ifdef HAVE_NEXT | 69 | #ifdef HAVE_NEXT |
68 | # include <libc.h> | 70 | # include <libc.h> |
69 | #endif | 71 | #endif |
70 | #define __USE_GNU /* before unistd.h, activate extra prototypes for glibc */ | ||
71 | #include <unistd.h> /* For STDIN_FILENO, etc */ | 72 | #include <unistd.h> /* For STDIN_FILENO, etc */ |
72 | #include <termios.h> /* Struct winsize */ | 73 | #include <termios.h> /* Struct winsize */ |
73 | 74 | ||