changeset 26313:9275b6adbad2

Undo last change and define _GNU_SOURCE before config.h.
author Dave Love <fx@gnu.org>
date Tue, 02 Nov 1999 22:40:17 +0000
parents 62ed5e47e20c
children 50166d2be629
files src/process.c
diffstat 1 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/process.c	Tue Nov 02 14:23:20 1999 +0000
+++ b/src/process.c	Tue Nov 02 22:40:17 1999 +0000
@@ -20,8 +20,8 @@
 Boston, MA 02111-1307, USA.  */
 
 
+#define _GNU_SOURCE		/* to get strsignal declared with glibc 2 */
 #include <config.h>
-
 #include <signal.h>
 
 /* This file is split into two parts by the following preprocessor
@@ -43,9 +43,6 @@
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif
-#ifdef HAVE_STRING_H
-#include <string.h>
-#endif
 
 #ifdef WINDOWSNT
 #include <stdlib.h>
@@ -62,7 +59,7 @@
 #endif /* NEED_NET_ERRNO_H */
 #endif /* HAVE_SOCKETS */
 
-/* TERM is a poor-man's SLIP, used on Linux.  */
+/* TERM is a poor-man's SLIP, used on GNU/Linux.  */
 #ifdef TERM
 #include <client.h>
 #endif