aboutsummaryrefslogtreecommitdiffstats
path: root/include/vty
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2009-05-21 07:23:02 +0000
committerHarald Welte <laforge@gnumonks.org>2009-05-21 07:23:02 +0000
commit12247c671371cd7f5466beb96db8ade8b12406d9 (patch)
tree5b130fe5011a22a4113ad140bbadf9266eb03fbe /include/vty
parentef061951e6e9c8bb9eda16f396ad245037156868 (diff)
Fix compilation issues on OS X - mainly #include file changes (Lars Immisch)
Diffstat (limited to 'include/vty')
-rw-r--r--include/vty/buffer.h2
-rw-r--r--include/vty/command.h1
2 files changed, 3 insertions, 0 deletions
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 <sys/types.h>
+
/* 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 <stdio.h>
+#include <sys/types.h>
#include "vector.h"
#include "vty.h"