summaryrefslogtreecommitdiffstats
path: root/freebsd/contrib
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-04-07 09:48:12 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-05-30 16:06:41 +0200
commit2017a6df2b7e4edd6cc6eef585b605290431ce5b (patch)
tree13fc7b337f6fb233ea5b06b4a2e77d27f02a6678 /freebsd/contrib
parentrtems-bsd-rc-conf.h: Add missing include (diff)
downloadrtems-libbsd-2017a6df2b7e4edd6cc6eef585b605290431ce5b.tar.bz2
Directly use <sys/time.h> provided by Newlib
Diffstat (limited to 'freebsd/contrib')
-rw-r--r--freebsd/contrib/libpcap/nametoaddr.c2
-rw-r--r--freebsd/contrib/libpcap/pcap/pcap.h2
-rw-r--r--freebsd/contrib/tcpdump/tcpdump-stdinc.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/freebsd/contrib/libpcap/nametoaddr.c b/freebsd/contrib/libpcap/nametoaddr.c
index af761744..e5653b9b 100644
--- a/freebsd/contrib/libpcap/nametoaddr.c
+++ b/freebsd/contrib/libpcap/nametoaddr.c
@@ -48,7 +48,7 @@ static const char rcsid[] _U_ =
#include <rtems/bsd/sys/param.h>
#include <rtems/bsd/sys/types.h> /* concession to AIX */
#include <sys/socket.h>
-#include <rtems/bsd/sys/time.h>
+#include <sys/time.h>
#include <netinet/in.h>
#endif /* WIN32 */
diff --git a/freebsd/contrib/libpcap/pcap/pcap.h b/freebsd/contrib/libpcap/pcap/pcap.h
index 60bb36e5..c9c61074 100644
--- a/freebsd/contrib/libpcap/pcap/pcap.h
+++ b/freebsd/contrib/libpcap/pcap/pcap.h
@@ -44,7 +44,7 @@
#include <sys/socket.h> /* u_int, u_char etc. */
#else /* UN*X */
#include <rtems/bsd/sys/types.h>
- #include <rtems/bsd/sys/time.h>
+ #include <sys/time.h>
#endif /* WIN32/MSDOS/UN*X */
#include <net/bpf.h>
diff --git a/freebsd/contrib/tcpdump/tcpdump-stdinc.h b/freebsd/contrib/tcpdump/tcpdump-stdinc.h
index 411326a4..e5e26eca 100644
--- a/freebsd/contrib/tcpdump/tcpdump-stdinc.h
+++ b/freebsd/contrib/tcpdump/tcpdump-stdinc.h
@@ -119,7 +119,7 @@ typedef char* caddr_t;
#endif
#include <rtems/bsd/sys/param.h>
#include <rtems/bsd/sys/types.h> /* concession to AIX */
-#include <rtems/bsd/sys/time.h>
+#include <sys/time.h>
#include <sys/socket.h>
#include <netinet/in.h>