httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roy T. Fielding" <field...@kiwi.ICS.UCI.EDU>
Subject [PATCH] PR#153: unistd.h needs to be included earlier in conf.h
Date Mon, 10 Feb 1997 17:05:59 GMT
Moves the setting of NO_UNISTD_H or inclusion of <unistd.h> higher in
the conf.h so that it doesn't result in errors on Solaris 2.6.
Reported by <martin.englund@sweden.sun.com>.

.....Roy

Index: conf.h
===================================================================
RCS file: /export/home/cvs/apache/src/conf.h,v
retrieving revision 1.77
diff -c -r1.77 conf.h
*** conf.h	1997/02/10 00:40:08	1.77
--- conf.h	1997/02/10 17:00:59
***************
*** 59,64 ****
--- 59,70 ----
  #include <sys/param.h>
  #endif
  
+ #if defined(NEXT)
+ #define NO_UNISTD_H
+ #else
+ #include <unistd.h>
+ #endif
+ 
  /* Define one of these according to your system. */
  #if defined(MPE)
  #include <setjmp.h>
***************
*** 184,190 ****
  #undef NO_KILLPG
  #define NO_SETSID
  #define NEED_STRDUP
- #define NO_UNISTD_H
  #undef _POSIX_SOURCE
  #ifndef FD_CLOEXEC
  #define FD_CLOEXEC 1
--- 190,195 ----
***************
*** 587,596 ****
  
  #ifndef LOGNAME_MAX
  #define LOGNAME_MAX 25
- #endif
- 
- #ifndef NEXT
- #include <unistd.h>
  #endif
  
  #ifdef ultrix
--- 592,597 ----

Mime
View raw message