summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2009-09-17 17:52:36 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2009-09-17 17:52:36 +0200
commit46eb80d5d50a2b284cae19444149d57d857a8e02 (patch)
tree13993dda06d7d32857560218c99a48b90137d4df
parentf4c6ca8c9c7ca7c0d481e6059396beed6adc768d (diff)
downloadbird-46eb80d5d50a2b284cae19444149d57d857a8e02.tar
bird-46eb80d5d50a2b284cae19444149d57d857a8e02.zip
Fixes headers for uintptr_t (and build on NetBSD).
-rw-r--r--lib/mempool.c1
-rw-r--r--lib/resource.c1
-rw-r--r--lib/slab.c1
-rw-r--r--nest/attrs.h2
-rw-r--r--proto/bgp/bgp.h1
5 files changed, 6 insertions, 0 deletions
diff --git a/lib/mempool.c b/lib/mempool.c
index 03a6e6b..0cb06b5 100644
--- a/lib/mempool.c
+++ b/lib/mempool.c
@@ -19,6 +19,7 @@
*/
#include <stdlib.h>
+#include <stdint.h>
#include "nest/bird.h"
#include "lib/resource.h"
diff --git a/lib/resource.c b/lib/resource.c
index a4d8751..5ba23f1 100644
--- a/lib/resource.c
+++ b/lib/resource.c
@@ -8,6 +8,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <stdint.h>
#include "nest/bird.h"
#include "lib/resource.h"
diff --git a/lib/slab.c b/lib/slab.c
index 17511d2..8cce52f 100644
--- a/lib/slab.c
+++ b/lib/slab.c
@@ -26,6 +26,7 @@
*/
#include <stdlib.h>
+#include <stdint.h>
#include "nest/bird.h"
#include "lib/resource.h"
diff --git a/nest/attrs.h b/nest/attrs.h
index eee6b37..16fb35a 100644
--- a/nest/attrs.h
+++ b/nest/attrs.h
@@ -9,6 +9,8 @@
#ifndef _BIRD_ATTRS_H_
#define _BIRD_ATTRS_H_
+#include <stdint.h>
+
/* a-path.c */
#define AS_PATH_SET 1 /* Types of path segments */
diff --git a/proto/bgp/bgp.h b/proto/bgp/bgp.h
index 9bbdab8..092c3b3 100644
--- a/proto/bgp/bgp.h
+++ b/proto/bgp/bgp.h
@@ -9,6 +9,7 @@
#ifndef _BIRD_BGP_H_
#define _BIRD_BGP_H_
+#include <stdint.h>
#include "nest/route.h"
struct linpool;