tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/native/common jk_mt.h
Date Sun, 13 Feb 2005 12:56:41 GMT
mturk       2005/02/13 04:56:41

  Modified:    jk/native/common jk_mt.h
  Log:
  Include sys/file.h if HAVE_FLOCK is defined.
  
  Revision  Changes    Path
  1.15      +2 -4      jakarta-tomcat-connectors/jk/native/common/jk_mt.h
  
  Index: jk_mt.h
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_mt.h,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- jk_mt.h	13 Feb 2005 12:09:01 -0000	1.14
  +++ jk_mt.h	13 Feb 2005 12:56:41 -0000	1.15
  @@ -63,9 +63,6 @@
   #include <pthread.h>
   #include <unistd.h>
   #include <fcntl.h>
  -#if HAVE_SYS_FILE_H
  -#include <sys/file.h>
  -#endif
   
   typedef pthread_mutex_t JK_CRIT_SEC;
   
  @@ -84,6 +81,7 @@
   int jk_gettid();
   
   #if HAVE_FLOCK
  +#include <sys/file.h>
   
   #define JK_ENTER_LOCK(x, rc)        \
       do {                            \
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message