Fix compilation issues on OS X - mainly #include file changes (Lars Immisch)
diff --git a/include/vty/buffer.h b/include/vty/buffer.h
index 87cb3fd..3151940 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 f72ea6c..26022cb 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"