summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ghc/lib/std/cbits/getClockTime.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/ghc/lib/std/cbits/getClockTime.c b/ghc/lib/std/cbits/getClockTime.c
index 06ba5fea3c..0aa8e0614f 100644
--- a/ghc/lib/std/cbits/getClockTime.c
+++ b/ghc/lib/std/cbits/getClockTime.c
@@ -1,11 +1,15 @@
/*
* (c) The GRASP/AQUA Project, Glasgow University, 1994-1998
*
- * $Id: getClockTime.c,v 1.7 1999/10/20 10:08:33 sof Exp $
+ * $Id: getClockTime.c,v 1.8 1999/10/26 09:34:09 sof Exp $
*
* getClockTime Runtime Support
*/
+#ifndef _AIX
+#define NON_POSIX_SOURCE /* gettimeofday */
+#endif
+
#include "Rts.h"
#include "stgio.h"