]> andersk Git - openssh.git/commitdiff
- (dtucker) [includes.h] Bug #1122: __USE_GNU is a glibc internal macro, use
authordtucker <dtucker>
Mon, 28 Nov 2005 11:28:59 +0000 (11:28 +0000)
committerdtucker <dtucker>
Mon, 28 Nov 2005 11:28:59 +0000 (11:28 +0000)
   _GNU_SOURCE instead.  Patch from t8m at centrum.cz.

ChangeLog
includes.h

index bf7e388e40715b2f8ff78da880c4260863f2ccf0..08c200e1a0d08f897e1814c6d93bb6763b125998 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,8 @@
 20051128
  - (dtucker) [regress/yes-head.sh] Work around breakage caused by some
    versions of GNU head.  Based on patch from zappaman at buraphalinux.org
+ - (dtucker) [includes.h] Bug #1122: __USE_GNU is a glibc internal macro, use
+   _GNU_SOURCE instead.  Patch from t8m at centrum.cz.
  - (dtucker) OpenBSD CVS Sync
    - dtucker@cvs.openbsd.org 2005/11/28 05:16:53
      [ssh-keygen.1 ssh-keygen.c]
index 351dd2ac03b6349bdd9abebc5488940aead2108b..12d948b6fb816b2439051a62830fa0abb98c26f1 100644 (file)
@@ -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 */
 
This page took 0.350025 seconds and 5 git commands to generate.