aboutsummaryrefslogtreecommitdiff
path: root/Carpet/LoopControl
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2010-02-13 18:13:28 -0600
committerBarry Wardell <barry.wardell@gmail.com>2011-12-14 16:45:25 +0000
commit2cf2d001e10c40b2de8558652bb8fe975d6df082 (patch)
tree2697c80c261f59b3f12788dbff77fe37f999e863 /Carpet/LoopControl
parenta44bafa4184173edd08cbcb3208f4c68828a1b3f (diff)
LoopControl: Include <sys/time.h> if necessary
Diffstat (limited to 'Carpet/LoopControl')
-rw-r--r--Carpet/LoopControl/src/wavetoy-loopcontrol.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/Carpet/LoopControl/src/wavetoy-loopcontrol.c b/Carpet/LoopControl/src/wavetoy-loopcontrol.c
index f7fa99a40..c5ea9fecb 100644
--- a/Carpet/LoopControl/src/wavetoy-loopcontrol.c
+++ b/Carpet/LoopControl/src/wavetoy-loopcontrol.c
@@ -36,6 +36,12 @@
# include <omp.h>
#endif
+#include <cctk.h>
+
+#ifdef HAVE_SYS_TIME_H
+# include <sys/time.h>
+#endif
+
#include "loopcontrol.h"