openbsd-ports/cad/kicad/patches/patch-include_fctsys_h

13 lines
340 B
Plaintext
Raw Normal View History

$OpenBSD: patch-include_fctsys_h,v 1.1.1.1 2007/01/09 16:12:55 steven Exp $
--- include/fctsys.h.orig Wed Jan 3 18:13:45 2007
+++ include/fctsys.h Wed Jan 3 18:14:06 2007
@@ -18,7 +18,7 @@
#endif
#include <stdio.h>
-#ifdef __FreeBSD__
+#if defined(__OpenBSD__) || defined(__FreeBSD__)
#include <stdlib.h>
#else
# ifndef __DARWIN__