--- a/lib/iec_types.h Wed Mar 30 19:53:32 2011 +0100
+++ b/lib/iec_types.h Thu Mar 31 10:45:34 2011 +0100
@@ -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