]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
* TIMEDB->TIMEB
authorVsevolod Stakhov <vsevolod@rambler-co.ru>
Tue, 22 Jun 2010 17:28:41 +0000 (21:28 +0400)
committerVsevolod Stakhov <vsevolod@rambler-co.ru>
Tue, 22 Jun 2010 17:28:41 +0000 (21:28 +0400)
CMakeLists.txt
config.h.in
src/evdns/evdns.c

index 7be021fca39263b5ee377c63301bc479adab517f..ab2e11ce0c37ee6999ed3009b466e844ac892196 100644 (file)
@@ -345,7 +345,7 @@ IF(HAVE_CLOCK_GETTIME)
        CHECK_SYMBOL_EXISTS(CLOCK_PROCESS_CPUTIME_ID time.h HAVE_CLOCK_PROCESS_CPUTIME_ID)
        CHECK_SYMBOL_EXISTS(CLOCK_VIRTUAL time.h HAVE_CLOCK_VIRTUAL)
 ELSE(HAVE_CLOCK_GETTIME)
-       CHECK_INCLUDE_FILES(sys/timeb.h HAVE_SYS_TIMEDB_H)
+       CHECK_INCLUDE_FILES(sys/timeb.h HAVE_SYS_TIMEB_H)
 ENDIF(HAVE_CLOCK_GETTIME)
 
 CHECK_C_SOURCE_COMPILES ("#include <sys/types.h>
index 6fd2de3660289874fe274842cf6de7004936dc54..fa5be7b1dadd49a7da80f8bacdd71ac11939bd4e 100644 (file)
 #endif
 
 /* timedb */
-#ifdef HAVE_SYS_TIMEDB_H
-#include <sys/timedb.h>
+#ifdef HAVE_SYS_TIMEB_H
+#include <sys/timeb.h>
 #endif
 
 /* sysexits */
index b19da2229194dc7f768b1b45878aa212b10d52da..5401104b5d8417efa8516a7ddb563247b306256b 100644 (file)
@@ -1136,7 +1136,7 @@ default_transaction_id_fn(void)
        }
        clock_gettime(clkid, &ts);
        trans_id = ts.tv_nsec & 0xffff;
-#elif defined(HAVE_SYS_TIMEDB_H)
+#elif defined(HAVE_SYS_TIMEB_H)
        struct timeb tb;
        ftime(&tb);
        trans_id = tb.millitm & 0xffff;