diff options
author | Simon Marlow <marlowsd@gmail.com> | 2009-12-16 09:55:01 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2009-12-16 09:55:01 +0000 |
commit | aeeeda3efad5266b0c52b92807bb0cc3b3f23b5c (patch) | |
tree | c0dd71b3f24038dfe6c7653cd6ea41fc36174201 /rts/posix | |
parent | 21146fa414558ee31b08b14792feed71778bccdf (diff) | |
download | haskell-aeeeda3efad5266b0c52b92807bb0cc3b3f23b5c.tar.gz |
#include <sys/select.h> if we have it (#3760)
Diffstat (limited to 'rts/posix')
-rw-r--r-- | rts/posix/Select.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rts/posix/Select.c b/rts/posix/Select.c index 46db4054bb..d36e122079 100644 --- a/rts/posix/Select.c +++ b/rts/posix/Select.c @@ -17,6 +17,10 @@ #include "Select.h" #include "AwaitEvent.h" +# ifdef HAVE_SYS_SELECT_H +# include <sys/select.h> +# endif + # ifdef HAVE_SYS_TYPES_H # include <sys/types.h> # endif |