util: fix printing of timestamps when time_t is longer than long

This commit is contained in:
Miroslav Lichvar
2014-08-07 14:23:33 +02:00
parent 36b25cbd2b
commit fc2892fbb0
2 changed files with 8 additions and 4 deletions

View File

@@ -62,10 +62,10 @@
#include <syslog.h>
#include <time.h>
#if HAS_STDINT_H
#include <stdint.h>
#elif defined(HAS_INTTYPES_H)
#ifdef HAS_INTTYPES_H
#include <inttypes.h>
#elif HAS_STDINT_H
#include <stdint.h>
#else
/* Tough */
#endif