Index: include/libee/timestamp.h
--- include/libee/timestamp.h.orig	2010-10-20 15:52:54.000000000 +0200
+++ include/libee/timestamp.h	2011-04-16 13:28:20.000000000 +0200
@@ -29,6 +29,8 @@
 #ifndef LIBEE_TIMESTAMP_H_INCLUDED
 #define	LIBEE_TIMESTAMP_H_INCLUDED
 
+#include <time.h>
+
 /**
  * An object to represent a CEE/XML timestamp.
  * 
Index: src/Makefile.in
--- src/Makefile.in.orig	2011-04-05 14:49:54.000000000 +0200
+++ src/Makefile.in	2011-04-16 13:29:34.000000000 +0200
@@ -275,7 +275,7 @@
 	csv_enc.c \
 	xml_enc.c
 
-libee_la_CPPFLAGS = $(LIBXML2_CFLAGS) $(LIBESTR_CFLAGS) $(LIBEE_CFLAGS)
+libee_la_CPPFLAGS = $(LIBEE_CFLAGS) $(LIBXML2_CFLAGS) $(LIBESTR_CFLAGS)
 libee_la_LIBADD = $(LIBXML2_LIBS) $(LIBESTR_LIBS)
 libee_la_LDFLAGS = -version-info 0:0:0
 convert_SOURCES = convert.c
