|
From: Bob T. <bt...@us...> - 2003-10-08 03:34:17
|
Update of /cvsroot/benson/benson3/include/benson
In directory sc8-pr-cvs1:/tmp/cvs-serv6309/include/benson
Modified Files:
bsm.h ipc.h
Log Message:
The latest set of fixes, for the windows stuff.
Index: bsm.h
===================================================================
RCS file: /cvsroot/benson/benson3/include/benson/bsm.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** bsm.h 29 Sep 2003 17:36:25 -0000 1.10
--- bsm.h 8 Oct 2003 03:34:10 -0000 1.11
***************
*** 11,16 ****
#include <stdio.h>
- #include <sys/shm.h>
- #include <sys/sem.h>
#include <benson/ipc.h>
#include <benson/const.h>
--- 11,14 ----
Index: ipc.h
===================================================================
RCS file: /cvsroot/benson/benson3/include/benson/ipc.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** ipc.h 8 Oct 2003 02:59:12 -0000 1.2
--- ipc.h 8 Oct 2003 03:34:10 -0000 1.3
***************
*** 2,8 ****
#define __ipc_h
#include <sys/shm.h>
#include <sys/sem.h>
!
typedef union semaphore_union {
--- 2,10 ----
#define __ipc_h
+ #ifdef HAVE_SYS_SEM_H
+
#include <sys/shm.h>
#include <sys/sem.h>
! #include "config.h"
typedef union semaphore_union {
***************
*** 20,23 ****
--- 22,30 ----
int ibn_shmdt(const void *shmaddr);
int ibn_shmctl(int id, int cmd, struct shmid_ds *buff);
+
+ #else
+ #define CANT_BUILD_SERVER
+ #endif
+
#endif /* __ipc_h */
|