summaryrefslogtreecommitdiff
path: root/net/nmap/patches/patch-al
blob: 807d90aebefb8c8b0e13a66678ed016a54435c1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-al,v 1.2 2011/01/30 09:24:40 markd Exp $

--- nping/configure.orig	2011-01-26 10:07:02.311910853 +0000
+++ nping/configure
@@ -5068,6 +5068,8 @@ else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
+#define  _BSD_SOURCE
+#include <sys/types.h>
 #include <stdio.h>
 #ifdef HAVE_SYS_IOCCOM_H
 #include <sys/ioccom.h>