Skip to content
Snippets Groups Projects
Commit 8402b2bf authored by Malcolm.Wallace@cs.york.ac.uk's avatar Malcolm.Wallace@cs.york.ac.uk
Browse files

inclusion of libc.h is conditional on __APPLE__

parent 21cd5d10
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,9 @@ import Control.Monad
-- Curious hack to ensure that the CTypes macros are expanded *after* hsc2hs.
##include "CTypes.h"
-- C header files that contain all the types we are looking for here.
#if __APPLE__
#include <libc.h>
#endif
#include <stdlib.h>
#include <unistd.h>
#include <sys/resource.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment