openbsd-ports/cad/kicad/patches/patch-include_fctsys_h
steven 19e5b0630b import kicad-2006-08-28
Kicad is an open source software for the creation of electronic schematic
diagrams and printed circuit board artwork.

with some ideas from freebsd.
also tested by Antti Harri <iku at openbsd.fi>, thanks
2007-01-09 16:12:55 +00:00

13 lines
340 B
Plaintext

$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__