From: Dave Love Date: Tue, 2 Nov 1999 22:44:28 +0000 (+0000) Subject: Undo last change and define _GNU_SOURCE before config.h. X-Git-Tag: emacs-pretest-21.0.90~6202 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=827a1788e0696a249c0affa70e0026d937ffb361;p=emacs.git Undo last change and define _GNU_SOURCE before config.h. --- diff --git a/src/ChangeLog b/src/ChangeLog index 3f1019ea362..94d9be178da 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,6 +1,7 @@ 1999-11-02 Dave Love - * process.c: Use string.h for strsignal. + * process.c: Define _GNU_SOURCE before config.h to get strsignal + declared with glibc2. 1999-11-02 Gerd Moellmann diff --git a/src/process.c b/src/process.c index e201ca45914..463dc44be2f 100644 --- a/src/process.c +++ b/src/process.c @@ -20,8 +20,8 @@ the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#define _GNU_SOURCE /* to get strsignal declared with glibc 2 */ #include - #include /* This file is split into two parts by the following preprocessor @@ -43,9 +43,6 @@ Boston, MA 02111-1307, USA. */ #ifdef HAVE_UNISTD_H #include #endif -#ifdef HAVE_STRING_H -#include -#endif #ifdef WINDOWSNT #include @@ -62,7 +59,7 @@ Boston, MA 02111-1307, USA. */ #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 #endif