Add HAVE_CONFIG_H support to let files receive configure defines.

This commit is contained in:
Ralf Corsepius
2010-03-28 05:50:29 +00:00
parent 39bad7e853
commit b25b88e732
42 changed files with 168 additions and 0 deletions
+4
View File
@@ -27,6 +27,10 @@
** -- You can print out the digest using MDprint(&MD)
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
/* Implementation notes:
** This implementation assumes that ints are 32-bit quantities.
*/
+4
View File
@@ -33,6 +33,10 @@
***********************************************************************
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <string.h> /* memcpy */
#include "md5.h"
+4
View File
@@ -31,6 +31,10 @@
* $Id$
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
+4
View File
@@ -2,6 +2,10 @@
* $Id$
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <netdb.h>
#include <string.h>
#include <sys/types.h>
@@ -15,6 +15,10 @@
* $Id$
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdio.h>
#include <string.h>
#include <errno.h>
+4
View File
@@ -4,6 +4,10 @@
* $Id$
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems.h>
#include <stdio.h>
#include <stdarg.h>
+4
View File
@@ -13,6 +13,10 @@
*
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
+4
View File
@@ -29,6 +29,10 @@
* try-and-error for region size.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems/bsd/sys/cdefs.h>
#include <sys/types.h>
@@ -25,6 +25,10 @@
* BSDI Id: if_indextoname.c,v 2.3 2000/04/17 22:38:05 dab Exp
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems/bsd/sys/cdefs.h>
#include <sys/types.h>
+4
View File
@@ -25,6 +25,10 @@
* BSDI Id: if_nameindex.c,v 2.3 2000/04/17 22:38:05 dab Exp
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems/bsd/sys/cdefs.h>
#include <sys/types.h>
+4
View File
@@ -34,6 +34,10 @@
* $Id$
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <sys/param.h>
#include <rtems/bsd/sys/queue.h>
#include <sys/mbuf.h>
+4
View File
@@ -34,6 +34,10 @@
* $Id$
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "opt_atalk.h"
#include "opt_inet.h"
#include "opt_inet6.h"
+4
View File
@@ -34,6 +34,10 @@
* $Id$
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
/*
* Loopback interface driver for protocol testing and timing.
*/
+4
View File
@@ -77,6 +77,10 @@
/* $Id$ */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "opt_inet.h"
#include "opt_ipx.h"
#include "opt_mac.h"
+4
View File
@@ -76,6 +76,10 @@
/* $Id$ */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "opt_ppp.h" /* XXX for ppp_defs.h */
#if NPPP > 0
+4
View File
@@ -30,6 +30,10 @@
* $FreeBSD: src/sys/net/radix.c,v 1.36 2004/04/21 15:27:36 luigi Exp $
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
/*
* Routines to build and maintain radix trees for routing lookups.
*/
+4
View File
@@ -34,6 +34,10 @@
* $Id$
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <sys/param.h>
#include <rtems/bsd/sys/queue.h>
#include <sys/systm.h>
+4
View File
@@ -34,6 +34,10 @@
* $Id$
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <sys/param.h>
#include <rtems/bsd/sys/queue.h>
#include <sys/systm.h>
+4
View File
@@ -30,6 +30,10 @@
* $Id$
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "opt_mrouting.h"
#include <sys/param.h>
+4
View File
@@ -33,6 +33,10 @@
/*
* $Id$
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <sys/param.h>
#include <rtems/bsd/sys/queue.h>
+4
View File
@@ -39,6 +39,10 @@
*
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdint.h>
#include <sys/param.h>
+4
View File
@@ -40,6 +40,10 @@
* add "inuse/lock" bit (or ref. count) along with valid bit
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "opt_inet.h"
#include <sys/param.h>
+4
View File
@@ -45,6 +45,10 @@
* MULTICAST Revision: 3.5.1.4
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mbuf.h>
+4
View File
@@ -30,6 +30,10 @@
* $FreeBSD: src/sys/netinet/in.c,v 1.75 2004/04/07 20:46:13 imp Exp $
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <sys/param.h>
#include <rtems/bsd/sys/queue.h>
#include <sys/systm.h>
+4
View File
@@ -30,6 +30,10 @@
* $Id$
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <sys/param.h>
#include <sys/mbuf.h>
+4
View File
@@ -34,6 +34,10 @@
* $Id$
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <sys/param.h>
#include <rtems/bsd/sys/queue.h>
#include <sys/systm.h>
+4
View File
@@ -30,6 +30,10 @@
* $Id$
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "opt_tcpdebug.h"
#include <sys/param.h>
+4
View File
@@ -42,6 +42,10 @@
* indefinitely. See in_rtqtimo() below for the exact mechanism.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
+4
View File
@@ -33,6 +33,10 @@
* $Id$
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <sys/param.h>
#include <rtems/bsd/sys/queue.h>
#include <sys/malloc.h>
+4
View File
@@ -19,6 +19,10 @@
* Implement IP packet firewall
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifndef IPFIREWALL_MODULE
#include "opt_ipfw.h"
#endif
+4
View File
@@ -34,6 +34,10 @@
* $Id$
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/malloc.h>
+4
View File
@@ -31,6 +31,10 @@
* $ANA: ip_input.c,v 1.5 1996/09/18 14:34:59 wollman Exp $
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#define _IP_VHL
#include "opt_ipfw.h"
+4
View File
@@ -12,6 +12,10 @@
* $Id$
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "opt_mrouting.h"
#include <sys/param.h>
+4
View File
@@ -34,6 +34,10 @@
* $Id$
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#define _IP_VHL
#include <sys/param.h>
+4
View File
@@ -33,6 +33,10 @@
/*
* $Id$
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "opt_inet6.h"
#include "opt_ipsec.h"
+4
View File
@@ -30,6 +30,10 @@
* $Id$
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "opt_tcpdebug.h"
#ifdef TCPDEBUG
+4
View File
@@ -30,6 +30,10 @@
* $Id$
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "opt_tcpdebug.h"
#ifndef TUBA_INCLUDE
@@ -30,6 +30,10 @@
* $Id$
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "opt_tcpdebug.h"
#include <sys/param.h>
+4
View File
@@ -34,6 +34,10 @@
* $Id$
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "opt_tcpdebug.h"
#include <sys/param.h>
+4
View File
@@ -30,6 +30,10 @@
* $Id$
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "opt_tcpdebug.h"
#ifndef TUBA_INCLUDE
@@ -34,6 +34,10 @@
* $Id$
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "opt_tcpdebug.h"
#include <sys/param.h>
@@ -30,6 +30,10 @@
* $FreeBSD: src/sys/netinet/udp_usrreq.c,v 1.170 2004/11/08 14:44:53 phk Exp $
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <sys/param.h>
#include <rtems/bsd/sys/queue.h>
#include <sys/systm.h>