25 lines
512 B
Text
25 lines
512 B
Text
|
$NetBSD: patch-src_zm_comms_h,v 1.1 2013/03/15 02:01:47 dsainty Exp $
|
||
|
|
||
|
extern "C" system headers.
|
||
|
|
||
|
Include missing system headers for NetBSD.
|
||
|
|
||
|
--- src/zm_comms.h 2009-10-15 02:08:49.000000000 +1300
|
||
|
+++ src/zm_comms.h 2013-03-08 09:07:38.000000000 +1300
|
||
|
@@ -22,10 +23,15 @@
|
||
|
|
||
|
#include "zm_exception.h"
|
||
|
|
||
|
+extern "C" {
|
||
|
#include <unistd.h>
|
||
|
#include <netdb.h>
|
||
|
#include <errno.h>
|
||
|
+#include <sys/socket.h>
|
||
|
+#include <sys/uio.h>
|
||
|
#include <sys/un.h>
|
||
|
+#include <netinet/in.h>
|
||
|
+}
|
||
|
|
||
|
#include <set>
|
||
|
#include <vector>
|