diff src/timeconv.c @ 118:0f1492b7fe8b

patch from Fridrich Strba for building on mingw and general cleanup of autoconf files add processing for pst files of type 0x0f start adding support for properly building and installing libpst.so and the header files required to use it. remove version.h since the version number is now in config.h more const correctness issues regarding getopt()
author Carl Byington <carl@five-ten-sg.com>
date Sat, 31 Jan 2009 12:12:36 -0800
parents 987aa872294e
children bdb38b434c0a
line wrap: on
line diff
--- a/src/timeconv.c	Fri Jan 16 15:31:11 2009 -0800
+++ b/src/timeconv.c	Sat Jan 31 12:12:36 2009 -0800
@@ -11,7 +11,11 @@
  * Do not use this one
  */
 
+#ifndef _WIN32
+
 #include <time.h>
+#include "define.h"
+#include "common.h"
 #include "timeconv.h"
 
 char * fileTimeToAscii (const FILETIME *filetime) {
@@ -121,3 +125,5 @@
     return ((((time_t)a2) << 16) << 16) + (a1 << 16) + a0;
 #endif
 }
+
+#endif	/* !_WIN32 */