summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/libc
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2010-03-28 05:50:29 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2010-03-28 05:50:29 +0000
commitb25b88e732daf787959e61abb9cee60f3ca23227 (patch)
tree1c86bfd1943d7f598425735f519d97a76b4f24b1 /cpukit/libnetworking/libc
parent2010-03-28 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-b25b88e732daf787959e61abb9cee60f3ca23227.tar.bz2
Add HAVE_CONFIG_H support to let files receive configure defines.
Diffstat (limited to 'cpukit/libnetworking/libc')
-rw-r--r--cpukit/libnetworking/libc/getifaddrs.c4
-rw-r--r--cpukit/libnetworking/libc/if_indextoname.c4
-rw-r--r--cpukit/libnetworking/libc/if_nameindex.c4
3 files changed, 12 insertions, 0 deletions
diff --git a/cpukit/libnetworking/libc/getifaddrs.c b/cpukit/libnetworking/libc/getifaddrs.c
index 1cf47984d0..9d5a535000 100644
--- a/cpukit/libnetworking/libc/getifaddrs.c
+++ b/cpukit/libnetworking/libc/getifaddrs.c
@@ -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>
diff --git a/cpukit/libnetworking/libc/if_indextoname.c b/cpukit/libnetworking/libc/if_indextoname.c
index 89e9f2fd66..8b2279e75c 100644
--- a/cpukit/libnetworking/libc/if_indextoname.c
+++ b/cpukit/libnetworking/libc/if_indextoname.c
@@ -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>
diff --git a/cpukit/libnetworking/libc/if_nameindex.c b/cpukit/libnetworking/libc/if_nameindex.c
index cd025aa428..f4e54a6733 100644
--- a/cpukit/libnetworking/libc/if_nameindex.c
+++ b/cpukit/libnetworking/libc/if_nameindex.c
@@ -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>