]> git.marmaro.de Git - mmh/blobdiff - sbr/lock_file.c
Removed, or added use of, unused macros to prevent warnings from gcc -Wunused-macros.
[mmh] / sbr / lock_file.c
index c4353b59a3f2997af857ff413a22fde92253811e..c7dffcfc0602f36386dd1a0ed01542b2691ab6fb 100644 (file)
 #include <h/signals.h>
 #include <h/utils.h>
 
-#ifdef TIME_WITH_SYS_TIME
+#ifdef HAVE_SYS_TIME_H
 # include <sys/time.h>
-# include <time.h>
-#else
-# ifdef TM_IN_SYS_TIME
-#  include <sys/time.h>
-# else
-#  include <time.h>
-# endif
 #endif
+#include <time.h>
 #include <errno.h>
 
 #ifdef HAVE_FCNTL_H