summaryrefslogtreecommitdiffstats
path: root/gnu/usr.sbin
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-02-03 20:25:59 +0000
committerbde <bde@FreeBSD.org>1995-02-03 20:25:59 +0000
commit6bb6091f961d5c8e5aa81615c7e1063a303a7949 (patch)
tree0a2841a47ea33ece3c60f2d2dd48c02e774c0c7a /gnu/usr.sbin
parent3cb57536a9c283ee5711d9fac58c65934108c5d2 (diff)
downloadFreeBSD-src-6bb6091f961d5c8e5aa81615c7e1063a303a7949.zip
FreeBSD-src-6bb6091f961d5c8e5aa81615c7e1063a303a7949.tar.gz
Include <sys/types.h> explicitly to get declaration of u_long for
<netinet/in.h> - don't depend on namespace pollution in <stdio.h>.
Diffstat (limited to 'gnu/usr.sbin')
-rw-r--r--gnu/usr.sbin/ypserv/dnslookup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/usr.sbin/ypserv/dnslookup.c b/gnu/usr.sbin/ypserv/dnslookup.c
index 395e08c..9d10ecf 100644
--- a/gnu/usr.sbin/ypserv/dnslookup.c
+++ b/gnu/usr.sbin/ypserv/dnslookup.c
@@ -28,7 +28,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: dnslookup.c,v 1.1 1995/01/31 08:58:52 wpaul Exp $
*/
/*
@@ -41,6 +41,7 @@
** it disappeared up its own belly button.
*/
+#include <sys/types.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
OpenPOWER on IntegriCloud