]> mj.ucw.cz Git - libucw.git/blobdiff - lib/config.h
bgetl() should return uns instead of u32
[libucw.git] / lib / config.h
index 72be2f98826d12a36d59e313ce0daf69aae180d9..e4c3b33d77f383ac2d89e0f53d5ff2235502ffb4 100644 (file)
@@ -13,7 +13,7 @@
 
 /* Configuration switches */
 
-#include "lib/autoconf.h"
+#include "autoconf.h"
 
 /* Tell libc we're going to use all extensions available */
 
@@ -37,7 +37,8 @@ typedef uint64_t u64;                 /* exactly 64 bits, unsigned */
 typedef int64_t s64;                   /* exactly 64 bits, signed */
 
 typedef unsigned int uns;              /* at least 32 bits */
-typedef u32 sh_time_t;                 /* Timestamp */
+typedef u32 sh_time_t;                 /* seconds since UNIX epoch */
+typedef s64 timestamp_t;               /* milliseconds since UNIX epoch */
 
 #ifdef CONFIG_LARGE_FILES              /* File positions */
 typedef s64 sh_off_t;