comparison lib-src/gnuserv.h @ 978:13e47461d509

[xemacs-hg @ 2002-08-29 19:45:20 by james] Include syssignal.h instead of signal.h. Move NSIG setting code for SVR4 to syssignal.h.
author james
date Thu, 29 Aug 2002 19:45:34 +0000
parents cb345077c98c
children aa5ed11f473b
comparison
equal deleted inserted replaced
977:b6b74d181b7f 978:13e47461d509
36 * value of TMPDIR is not shared by client and server at run-time. 36 * value of TMPDIR is not shared by client and server at run-time.
37 */ 37 */
38 #define USE_TMPDIR 38 #define USE_TMPDIR
39 39
40 #define PATCHLEVEL 2 40 #define PATCHLEVEL 2
41
42 #include <sys/types.h>
43 #include <sys/param.h>
44 #include <sys/stat.h>
45 #include <stdio.h>
46 #include <stdlib.h>
47 #include <string.h>
48 #include <signal.h>
49 #include <errno.h>
50 41
51 #define NO_SHORTNAMES 42 #define NO_SHORTNAMES
52 /* gnuserv should not be compiled using SOCKS */ 43 /* gnuserv should not be compiled using SOCKS */
53 #define DO_NOT_SOCKSIFY 44 #define DO_NOT_SOCKSIFY
54 #include <config.h> 45 #include <config.h>
107 #ifdef BSD 98 #ifdef BSD
108 #define UNIX_DOMAIN_SOCKETS /* BSD systems use Unix Domain sockets by default */ 99 #define UNIX_DOMAIN_SOCKETS /* BSD systems use Unix Domain sockets by default */
109 #endif /* BSD */ 100 #endif /* BSD */
110 101
111 #endif /* No communication method pre-defined */ 102 #endif /* No communication method pre-defined */
103
104 #include <sys/types.h>
105 #include <sys/param.h>
106 #include <sys/stat.h>
107 #include <stdio.h>
108 #include <stdlib.h>
109 #include <string.h>
110 #include "syssignal.h"
111 #include <errno.h>
112 112
113 #ifdef HAVE_UNISTD_H 113 #ifdef HAVE_UNISTD_H
114 #include <unistd.h> 114 #include <unistd.h>
115 #endif 115 #endif
116 116