changeset 954:cb345077c98c

[xemacs-hg @ 2002-08-05 16:34:07 by james] Include signal.h early to define NSIG before config.h is included.
author james
date Mon, 05 Aug 2002 16:34:07 +0000
parents c1e8977783ed
children b7fa959034ca
files lib-src/ChangeLog lib-src/gnuserv.h
diffstat 2 files changed, 14 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/ChangeLog	Sun Aug 04 00:05:48 2002 +0000
+++ b/lib-src/ChangeLog	Mon Aug 05 16:34:07 2002 +0000
@@ -1,3 +1,8 @@
+2002-08-02  Jerry James  <james@xemacs.org>
+
+	* gnuserv.h: Include signal.h early to define NSIG before config.h
+	is included.
+
 2002-07-27  Steve Youngs  <youngs@xemacs.org>
 
 	* XEmacs 21.5.8 "broccoli" is released.
--- a/lib-src/gnuserv.h	Sun Aug 04 00:05:48 2002 +0000
+++ b/lib-src/gnuserv.h	Mon Aug 05 16:34:07 2002 +0000
@@ -39,6 +39,15 @@
 
 #define PATCHLEVEL 2
 
+#include <sys/types.h>
+#include <sys/param.h>
+#include <sys/stat.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <signal.h>
+#include <errno.h>
+
 #define NO_SHORTNAMES
 /* gnuserv should not be compiled using SOCKS */
 #define DO_NOT_SOCKSIFY
@@ -101,15 +110,6 @@
 
 #endif /* No communication method pre-defined */
 
-#include <sys/types.h>
-#include <sys/param.h>
-#include <sys/stat.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <signal.h>
-#include <errno.h>
-
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif