blob: 5f2c0548765100369139bc4e25c277e60184485f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$NetBSD: patch-src_zm_comms_cpp,v 1.4 2022/09/27 01:20:39 gdt Exp $
Don't attempt to include headers that don't exist.
--- src/zm_comms.cpp.orig 2016-02-03 18:40:30.000000000 +0000
+++ src/zm_comms.cpp
@@ -28,8 +28,10 @@
#if defined(BSD)
#include <stdlib.h>
#else
+#ifdef HAVE_ALLOCA_H
#include <alloca.h>
#endif
+#endif
//#include <unistd.h>
#include <sys/ioctl.h>
|