]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Fix the configure.ac check for rt_msghdr
authorHarlan Stenn <stenn@ntp.org>
Tue, 20 Jun 2006 07:15:38 +0000 (03:15 -0400)
committerHarlan Stenn <stenn@ntp.org>
Tue, 20 Jun 2006 07:15:38 +0000 (03:15 -0400)
bk: 4497a09aXtVoeBG_694jPMRNzfbC-w

configure.ac

index 66946d2c6c4a12542bfaac2a1dc1db4fd135e776..cd8aa7e8e209101b633c5b7f89f44115caeefd06 100644 (file)
@@ -671,9 +671,8 @@ AC_CACHE_CHECK(for struct rt_msghdr, ac_cv_struct_rt_msghdr,
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <net/if.h>
-#include <net/route.h>],[
-extern struct rt_msghdr *p;
-return p;],
+#include <net/route.h>],
+[struct rt_msghdr p;],
        ac_cv_struct_rt_msghdr=yes,
        ac_cv_struct_rt_msghdr=no)
 ])