X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=configure.ac;h=401a9ae1f28cf999a5d74ebd1646da377220aa5d;hb=2ba90bd27bd408ecfc7d270d8a63e7eb6b293107;hp=1be1466b2b0c896de79ee1a1f43ff4e17f57572d;hpb=d870e4b95ce50b1635755025e2d8f50df093ab37;p=catta diff --git a/configure.ac b/configure.ac index 1be1466..401a9ae 100644 --- a/configure.ac +++ b/configure.ac @@ -58,10 +58,13 @@ fi # Windows stuff AC_CHECK_DECL(_WIN32) AM_CONDITIONAL([WINDOWS], [ test "x$ac_cv_have_decl__WIN32" = "xyes" ]) +if test "x$ac_cv_have_decl__WIN32" = "xyes" ; then + CPPFLAGS="$CPPFLAGS -I`pwd`/src/compat/windows/include" +fi AC_CHECK_MEMBER([struct in_pktinfo.ipi_spec_dst], AC_DEFINE([HAVE_IPI_SPEC_DST], [], [struct in_pktinfo has ipi_spec_dst member]), [], - [[#include ]]) + [[#include ]]) # -fstack-protector AC_ARG_ENABLE([stack-protector],