Fix configure error when checking the netlink headers

This commit is contained in:
dlezcano 2008-10-08 11:24:31 +00:00
parent 2ab8e9baa7
commit 86f7d054cd

View File

@ -12,7 +12,10 @@ AC_PROG_RANLIB
AM_PROG_CC_C_O
AC_GNU_SOURCE
AC_PROG_LIBTOOL
AC_CHECK_HEADERS([linux/netlink.h linux/genetlink.h],, AC_MSG_ERROR([netlink headers not found]), [[]])
AC_CHECK_HEADERS([linux/netlink.h linux/genetlink.h], [], AC_MSG_ERROR([netlink headers not found]),
[#include <linux/types.h>
#include <bits/sockaddr.h>
#include <linux/socket.h>])
AC_PROG_GCC_TRADITIONAL
if test "x$GCC" = "xyes"; then