diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2014-05-18 10:59:07 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2014-05-18 10:59:07 +0000 |
commit | 1fd27d74afe877424122f510c6e1b81264992883 (patch) | |
tree | c89d84df498a0dc2a36f4bac71b3a6b21a93e26c /configure.ac | |
parent | 08a17f31d48319acf4be0e0d929456eb3c88a936 (diff) |
libtool: in_port_t and sa_family_t
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index dc77f3d..fd423c0 100644 --- a/configure.ac +++ b/configure.ac @@ -47,6 +47,18 @@ AC_MSG_WARN([*** in_addr_t not found]), #include <netinet/in.h> #include <arpa/inet.h>]) +# check for in_port_ +AC_CHECK_TYPE(in_port_t, [], [AC_DEFINE([in_port_t], [uint16_t], [in_port_t])], [ +#include <sys/types.h> +#include <netinet/in.h> +]) + +# check for sa_family_t +AC_CHECK_TYPE(sa_family_t, [], [AC_DEFINE([sa_family_t], [uint16_t], [sa_family_t])], [ +#include <sys/types.h> +#include <netinet/in.h> +]) + ### zlib CHECK_ZLIB() |