--- a/lib/iec_types.h Mon Oct 19 18:12:44 2009 +0200
+++ b/lib/iec_types.h Thu Oct 22 10:31:26 2009 +0200
@@ -31,7 +31,7 @@
typedef double IEC_LREAL;
-#if !defined __timespec_defined
+#if !defined __timespec_defined && !defined __time_t_defined
# define __timespec_defined 1
struct timespec