summaryrefslogtreecommitdiff
path: root/liboil/liboilprofile.c
diff options
context:
space:
mode:
authorDavid Schleef <ds@ginger.bigkitten.com>2008-03-04 13:54:45 -0800
committerDavid Schleef <ds@ginger.bigkitten.com>2008-03-04 13:54:45 -0800
commit3d5f675428c648b2a4323cbeb33cff8b851de2a1 (patch)
tree6bfd7b9a7fa137fd45fedbfa98501061dfa13e54 /liboil/liboilprofile.c
parent36792e24f150276fbd666ccce6c9c497c88b5bc6 (diff)
downloadliboil-3d5f675428c648b2a4323cbeb33cff8b851de2a1.tar.gz
Add tests for unistd.h and sys/time.h. Use.
Diffstat (limited to 'liboil/liboilprofile.c')
-rw-r--r--liboil/liboilprofile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/liboil/liboilprofile.c b/liboil/liboilprofile.c
index f84fcb2..4f5d139 100644
--- a/liboil/liboilprofile.c
+++ b/liboil/liboilprofile.c
@@ -32,7 +32,9 @@
#include <liboil/liboilprofile.h>
#include <liboil/liboildebug.h>
+#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
+#endif
#include <time.h>
#include <string.h>
#include <math.h>