From 12247c671371cd7f5466beb96db8ade8b12406d9 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 21 May 2009 07:23:02 +0000 Subject: Fix compilation issues on OS X - mainly #include file changes (Lars Immisch) --- include/mISDNif.h | 6 ++++++ include/openbsc/paging.h | 2 +- include/vty/buffer.h | 2 ++ include/vty/command.h | 1 + 4 files changed, 10 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/mISDNif.h b/include/mISDNif.h index a4ef7f691..8e065d24b 100644 --- a/include/mISDNif.h +++ b/include/mISDNif.h @@ -19,9 +19,15 @@ #define mISDNIF_H #include +#ifdef linux #include #include #include +#else +#include +#include +#include +#endif /* * ABI Version 32 bit diff --git a/include/openbsc/paging.h b/include/openbsc/paging.h index fd9dc02e8..de512d1ae 100644 --- a/include/openbsc/paging.h +++ b/include/openbsc/paging.h @@ -21,7 +21,7 @@ #ifndef PAGING_H #define PAGING_H -#include +#include #include #include "linuxlist.h" diff --git a/include/vty/buffer.h b/include/vty/buffer.h index 87cb3fde4..31519400f 100644 --- a/include/vty/buffer.h +++ b/include/vty/buffer.h @@ -23,6 +23,8 @@ #ifndef _ZEBRA_BUFFER_H #define _ZEBRA_BUFFER_H +#include + /* Create a new buffer. Memory will be allocated in chunks of the given size. If the argument is 0, the library will supply a reasonable default size suitable for buffering socket I/O. */ diff --git a/include/vty/command.h b/include/vty/command.h index f72ea6c04..26022cb02 100644 --- a/include/vty/command.h +++ b/include/vty/command.h @@ -24,6 +24,7 @@ #define _ZEBRA_COMMAND_H #include +#include #include "vector.h" #include "vty.h" -- cgit v1.2.3