aboutsummaryrefslogtreecommitdiff
path: root/devel/ros_comm/files/patch-core_roscpp_src_libros_network.cpp
blob: e256a239ecc1c4ae871271687ee4427abb76306e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- core/roscpp/src/libros/network.cpp.orig	2010-07-21 01:48:07.000000000 +0200
+++ core/roscpp/src/libros/network.cpp	2010-12-03 20:18:21.000000000 +0100
@@ -34,6 +34,9 @@
 #include <ros/assert.h>
 
 #include <netinet/in.h>
+#ifdef HAVE_IFADDRS_H
+  #include <sys/types.h>
+#endif
 #include <sys/socket.h>
 #include <netdb.h>