Mercurial > emacs
comparison src/process.c @ 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 | 6f64bccafad6 |
children | b7438760079b |
comparison
equal
deleted
inserted
replaced
26312:62ed5e47e20c | 26313:9275b6adbad2 |
---|---|
18 along with GNU Emacs; see the file COPYING. If not, write to | 18 along with GNU Emacs; see the file COPYING. If not, write to |
19 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 19 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
20 Boston, MA 02111-1307, USA. */ | 20 Boston, MA 02111-1307, USA. */ |
21 | 21 |
22 | 22 |
23 #define _GNU_SOURCE /* to get strsignal declared with glibc 2 */ | |
23 #include <config.h> | 24 #include <config.h> |
24 | |
25 #include <signal.h> | 25 #include <signal.h> |
26 | 26 |
27 /* This file is split into two parts by the following preprocessor | 27 /* This file is split into two parts by the following preprocessor |
28 conditional. The 'then' clause contains all of the support for | 28 conditional. The 'then' clause contains all of the support for |
29 asynchronous subprocesses. The 'else' clause contains stub | 29 asynchronous subprocesses. The 'else' clause contains stub |
40 #include <sys/types.h> /* some typedefs are used in sys/file.h */ | 40 #include <sys/types.h> /* some typedefs are used in sys/file.h */ |
41 #include <sys/file.h> | 41 #include <sys/file.h> |
42 #include <sys/stat.h> | 42 #include <sys/stat.h> |
43 #ifdef HAVE_UNISTD_H | 43 #ifdef HAVE_UNISTD_H |
44 #include <unistd.h> | 44 #include <unistd.h> |
45 #endif | |
46 #ifdef HAVE_STRING_H | |
47 #include <string.h> | |
48 #endif | 45 #endif |
49 | 46 |
50 #ifdef WINDOWSNT | 47 #ifdef WINDOWSNT |
51 #include <stdlib.h> | 48 #include <stdlib.h> |
52 #include <fcntl.h> | 49 #include <fcntl.h> |
60 #ifdef NEED_NET_ERRNO_H | 57 #ifdef NEED_NET_ERRNO_H |
61 #include <net/errno.h> | 58 #include <net/errno.h> |
62 #endif /* NEED_NET_ERRNO_H */ | 59 #endif /* NEED_NET_ERRNO_H */ |
63 #endif /* HAVE_SOCKETS */ | 60 #endif /* HAVE_SOCKETS */ |
64 | 61 |
65 /* TERM is a poor-man's SLIP, used on Linux. */ | 62 /* TERM is a poor-man's SLIP, used on GNU/Linux. */ |
66 #ifdef TERM | 63 #ifdef TERM |
67 #include <client.h> | 64 #include <client.h> |
68 #endif | 65 #endif |
69 | 66 |
70 /* On some systems, e.g. DGUX, inet_addr returns a 'struct in_addr'. */ | 67 /* On some systems, e.g. DGUX, inet_addr returns a 'struct in_addr'. */ |