summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/gmtime.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/gmtime.c')
-rw-r--r--otherlibs/unix/gmtime.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/otherlibs/unix/gmtime.c b/otherlibs/unix/gmtime.c
index 502a5f9f9..2ffeb3927 100644
--- a/otherlibs/unix/gmtime.c
+++ b/otherlibs/unix/gmtime.c
@@ -15,6 +15,7 @@
#include <mlvalues.h>
#include <alloc.h>
+#include <fail.h>
#include <memory.h>
#include "unixsupport.h"
#include <time.h>
@@ -88,6 +89,7 @@ CAMLprim value unix_mktime(value t)
#else
-CAMLprim value unix_mktime(value t) { invalid_argument("mktime not implemented"); }
+CAMLprim value unix_mktime(value t)
+{ invalid_argument("mktime not implemented"); }
#endif