httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject cvs commit: httpd-2.0/test time-sem.c
Date Wed, 28 May 2003 14:11:38 GMT
martin      2003/05/28 07:11:38

  Modified:    test     time-sem.c
  Log:
  [Porting] Include <sys/mutex.h> if available, to get lock_t typedef for using  <sys/shm.h>
  
  Revision  Changes    Path
  1.5       +3 -0      httpd-2.0/test/time-sem.c
  
  Index: time-sem.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/test/time-sem.c,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -u -r1.4 -r1.5
  --- time-sem.c	10 Jul 2002 06:01:14 -0000	1.4
  +++ time-sem.c	28 May 2003 14:11:38 -0000	1.5
  @@ -417,6 +417,9 @@
   #else
   #include <sys/types.h>
   #include <sys/ipc.h>
  +#ifdef HAVE_SYS_MUTEX_H
  +#include <sys/mutex.h>
  +#endif
   #include <sys/shm.h>
   
   static void *get_shared_mem(apr_size_t size)
  
  
  

Mime
View raw message