freebsd-ports/cad/spice/files/patch-src_lib_cp_unixcom.c
Martin Wilke 00899d7b5f - Fix build with CLANG
PR:		158270
Submitted by:	Pedro Giffuni <giffunip@tutopia.com> (maintainer)
2011-06-25 07:46:56 +00:00

10 lines
263 B
C

--- src/lib/cp/unixcom.c.orig 2011-06-24 16:24:35.000000000 +0000
+++ src/lib/cp/unixcom.c 2011-06-24 16:30:47.000000000 +0000
@@ -6,6 +6,7 @@
/*
* Routines to do execution of unix commands.
*/
+#include <unistd.h>
#include "spice.h"
#include "cpdefs.h"