diff options
author | Adam Sandberg Eriksson <adam@sandbergericsson.se> | 2019-08-02 16:04:28 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-09-23 17:52:32 -0400 |
commit | 74631bbcc9cd7926d75e3cd0ed2b8d766de2868c (patch) | |
tree | 428110a3cde5ea52b8877564a804608ccd58878c /libraries/base/aclocal.m4 | |
parent | 0e478407f3aa03425011f6ab5081d39eeca7df05 (diff) | |
download | haskell-74631bbcc9cd7926d75e3cd0ed2b8d766de2868c.tar.gz |
base: add newtypes for socklen_t and ndfs_t to System.Posix.Types #16568
Metric Increase:
haddock.base
T4029
Diffstat (limited to 'libraries/base/aclocal.m4')
-rw-r--r-- | libraries/base/aclocal.m4 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libraries/base/aclocal.m4 b/libraries/base/aclocal.m4 index ece0c6f05e..528eac5d21 100644 --- a/libraries/base/aclocal.m4 +++ b/libraries/base/aclocal.m4 @@ -106,6 +106,14 @@ AC_DEFUN([FPTOOLS_HTYPE_INCLUDES], # include <sys/resource.h> #endif +#if HAVE_POLL_H +# include <poll.h> +#endif + +#if HAVE_SYS_SOCKET_H +# include <sys/socket.h> +#endif + #include <stdlib.h> ]) |