diff options
author | Darren Tucker <dtucker@zip.com.au> | 2005-11-28 22:28:59 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2005-11-28 22:28:59 +1100 |
commit | ac0c8a533d7b79f8404f904a05655e48aa792a45 (patch) | |
tree | d5b688db3a262dd73aa9fffd208ac1c4b8ce3cd4 /includes.h | |
parent | 3a4634f67415ae6c69b97f042b284b8d98955f97 (diff) |
- (dtucker) [includes.h] Bug #1122: __USE_GNU is a glibc internal macro, use
_GNU_SOURCE instead. Patch from t8m at centrum.cz.
Diffstat (limited to 'includes.h')
-rw-r--r-- | includes.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 */ |