diff --git a/configure.ac b/configure.ac index 57a60647a..cde95ed09 100644 --- a/configure.ac +++ b/configure.ac @@ -397,10 +397,6 @@ fi if test "x$enable_dap" = xyes; then AC_DEFINE([USE_DAP], [1], [if true, build DAP Client]) AC_DEFINE([ENABLE_DAP], [1], [if true, build DAP Client]) -#AC_CHECK_HEADER(sys/socket.h, ,AC_DEFINE([NO_SYS_SOCKET_H], [], [no sys/socket.h])) -#AC_CHECK_HEADER(socket.h, ,AC_DEFINE([NO_SOCKET_H], [], [no socket.h])) -AC_CHECK_HEADERS([sys/socket.h socket.h]) -AC_CHECK_TYPES([socklen_t]) fi if test "x$enable_dap_remote_tests" = xyes; then diff --git a/libdap2/ncdap.h b/libdap2/ncdap.h index 1a316e5c5..b3ca46071 100644 --- a/libdap2/ncdap.h +++ b/libdap2/ncdap.h @@ -15,16 +15,6 @@ #include #include -#ifdef HAVE_SYS_SOCKET_H -#include -#elif defined HAVE_SOCKET_H -#include -#endif - -#ifndef HAVE_SOCKLEN_T -typedef int socklen_t; -#endif - #include "ncbytes.h" #include "nclist.h" #include "nchashmap.h"