summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-04-03 19:41:51 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-04-03 19:41:51 -0700
commit213fe380e3d36257772c9d6de696521831b735e0 (patch)
tree1ab704b075cf5dcfeef0e4496305ee54b7ce4fba
parent80001f3d9e321dd2e3e120f6f7829341b634c753 (diff)
downloadquagga-213fe380e3d36257772c9d6de696521831b735e0.tar.bz2
quagga-213fe380e3d36257772c9d6de696521831b735e0.tar.xz
fix build on on 64 bit platforms
Use proper include files so watchlink can be built on 64 bit platforms. Not strictly necessary yet, since vyatta isn't doing 64 bit builds, but some development machines run 64 bit OS.
-rw-r--r--watchlink/netlink_event.cc2
-rw-r--r--watchlink/netlink_listener.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/watchlink/netlink_event.cc b/watchlink/netlink_event.cc
index 1f8efc7c..1ab1a6ab 100644
--- a/watchlink/netlink_event.cc
+++ b/watchlink/netlink_event.cc
@@ -6,7 +6,7 @@
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation.
*/
-#include <linux/types.h>
+#include <sys/types.h>
#include <sys/socket.h>
#include <linux/rtnetlink.h>
#include <net/if.h>
diff --git a/watchlink/netlink_listener.cc b/watchlink/netlink_listener.cc
index 8ef3e40c..be17fc76 100644
--- a/watchlink/netlink_listener.cc
+++ b/watchlink/netlink_listener.cc
@@ -7,7 +7,7 @@
* by the Free Software Foundation.
*/
#include <errno.h>
-#include <linux/types.h>
+#include <sys/types.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <linux/rtnetlink.h>