add configure check for arpa/nameser.h

This commit is contained in:
Mark 2005-02-11 21:16:05 +00:00
parent 2cb6957c40
commit e856eb1b68
2 changed files with 8 additions and 13 deletions

10
opsb.c
View file

@ -21,15 +21,13 @@
** $Id$
*/
#include <stdio.h>
#include <sys/types.h>
#ifndef WIN32
#include <sys/socket.h>
#include <netinet/in.h>
#include "neostats.h"
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif
#ifdef HAVE_ARPA_NAMESER_H
#include <arpa/nameser.h>
#endif
#include "neostats.h"
#include "opsb.h"
void reportdns(char *data, adns_answer *a);

11
proxy.c
View file

@ -23,16 +23,13 @@
** $Id$
*/
#include <stdio.h>
#include <sys/types.h>
#ifndef WIN32
#include <sys/socket.h>
#include <netinet/in.h>
#include "neostats.h"
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif
#ifdef HAVE_ARPA_NAMESER_H
#include <arpa/nameser.h>
#endif
#include "neostats.h"
#include "opsb.h"
#include "opm.h"
#include "opm_types.h"