Code

only include utime.h when necessary
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Mon, 25 May 2009 06:05:55 +0000 (06:05 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Mon, 25 May 2009 06:05:55 +0000 (06:05 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1809 a5681a0c-68f1-0310-ab6d-d61299d08faa

src/rrd_open.c

index dba1a018d7b6db55a86596b9fc44425e5b7e3e07..f7ccca87a7d643c19d78ab8dce8c9ffc12560e81 100644 (file)
 #include <stdlib.h>
 #include <fcntl.h>
 #include <sys/stat.h>
+#endif
+
+#ifdef HAVE_BROKEN_MS_ASYNC
+#include <sys/types.h>       
 #include <utime.h>
 #endif