]> git.meshlink.io Git - catta/commitdiff
fix check for sysctl.h
authorLennart Poettering <lennart@poettering.net>
Fri, 5 May 2006 14:06:06 +0000 (14:06 +0000)
committerLennart Poettering <lennart@poettering.net>
Fri, 5 May 2006 14:06:06 +0000 (14:06 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1213 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

configure.ac

index 98ba4d9c6380e168f3ee2541c05eea7b2732da90..6412acf63bf764c5d58cba68659f0d695681fbe8 100644 (file)
@@ -102,6 +102,8 @@ AC_CHECK_HEADER(sys/sysctl.h,
 HAVE_SYS_SYSCTL=yes
 AC_DEFINE([HAVE_SYS_SYSCTL_H],[],[Support for sys/sysctl.h])
 , [], [
+#include <sys/types.h>
+#include <sys/socket.h>
 ])
 
 AM_CONDITIONAL(HAVE_SYS_SYSCTL_H, [ test x"$HAVE_SYS_SYSCTL_H" = xyes ])