pkgsrc-ng/security/zoneminder/patches/patch-src_zm_comms_cpp
2013-09-26 17:14:40 +02:00

17 lines
407 B
Plaintext

$NetBSD: patch-src_zm_comms_cpp,v 1.2 2013/03/24 16:47:47 joerg Exp $
Don't attempt to include headers that don't exist.
--- src/zm_comms.cpp.orig 2011-06-21 09:19:10.000000000 +0000
+++ src/zm_comms.cpp
@@ -25,7 +25,9 @@
#include <fcntl.h>
#include <stdarg.h>
//#include <memory.h>
+#ifdef HAVE_ALLOCA_H
#include <alloca.h>
+#endif
#include <string.h>
//#include <unistd.h>
#include <sys/ioctl.h>