dreid           Mon Nov  4 15:08:09 2002 EDT

  Modified files:              
    /php4       configure.in 
    /php4/ext/standard  ftok.c 
  Log:
  Not all systems have sys/ipc.h so let's check and only include it if we
  have it.
  
  
Index: php4/configure.in
diff -u php4/configure.in:1.394 php4/configure.in:1.395
--- php4/configure.in:1.394     Tue Oct 29 11:21:53 2002
+++ php4/configure.in   Mon Nov  4 15:08:08 2002
@@ -1,4 +1,4 @@
-dnl ## $Id: configure.in,v 1.394 2002/10/29 16:21:53 wez Exp $ -*- sh -*-
+dnl ## $Id: configure.in,v 1.395 2002/11/04 20:08:08 dreid Exp $ -*- sh -*-
 dnl ## Process this file with autoconf to produce a configure script.
 
 divert(1)
@@ -354,6 +354,7 @@
 unix.h \
 utime.h \
 sys/utsname.h \
+sys/ipc.h \
 ],[],[],[
 #ifdef HAVE_SYS_TYPES_H
 #include <sys/types.h>
Index: php4/ext/standard/ftok.c
diff -u php4/ext/standard/ftok.c:1.8 php4/ext/standard/ftok.c:1.9
--- php4/ext/standard/ftok.c:1.8        Sun Oct 20 09:35:56 2002
+++ php4/ext/standard/ftok.c    Mon Nov  4 15:08:09 2002
@@ -16,12 +16,15 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: ftok.c,v 1.8 2002/10/20 13:35:56 derick Exp $ */
+/* $Id: ftok.c,v 1.9 2002/11/04 20:08:09 dreid Exp $ */
 
 #include "php.h"
 
 #include <sys/types.h>                                                                
                                        
+
+#ifdef HAVE_SYS_IPC_H
 #include <sys/ipc.h>
+#endif
 
 #if HAVE_FTOK
 /* {{{ proto int ftok(string pathname, string proj)



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to