summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/net
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libnetworking/net')
-rw-r--r--cpukit/libnetworking/net/ethernet.h2
-rw-r--r--cpukit/libnetworking/net/if.h2
-rw-r--r--cpukit/libnetworking/net/if_dl.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/libnetworking/net/ethernet.h b/cpukit/libnetworking/net/ethernet.h
index 380ee1bad0..3051af077a 100644
--- a/cpukit/libnetworking/net/ethernet.h
+++ b/cpukit/libnetworking/net/ethernet.h
@@ -369,7 +369,7 @@ extern char *ether_sprintf(const u_int8_t *);
#else /* _KERNEL */
-#include <sys/cdefs.h>
+#include <rtems/bsd/sys/cdefs.h>
/*
* Ethernet address conversion/parsing routines.
diff --git a/cpukit/libnetworking/net/if.h b/cpukit/libnetworking/net/if.h
index 52c27e05d0..1137f762a7 100644
--- a/cpukit/libnetworking/net/if.h
+++ b/cpukit/libnetworking/net/if.h
@@ -37,7 +37,7 @@
#ifndef _NET_IF_H_
#define _NET_IF_H_
-#include <sys/cdefs.h>
+#include <rtems/bsd/sys/cdefs.h>
#if defined(__rtems__)
/*
diff --git a/cpukit/libnetworking/net/if_dl.h b/cpukit/libnetworking/net/if_dl.h
index e739316be8..757f1f13f0 100644
--- a/cpukit/libnetworking/net/if_dl.h
+++ b/cpukit/libnetworking/net/if_dl.h
@@ -74,7 +74,7 @@ struct sockaddr_dl {
#ifndef _KERNEL
-#include <sys/cdefs.h>
+#include <rtems/bsd/sys/cdefs.h>
__BEGIN_DECLS
void link_addr(const char *, struct sockaddr_dl *);