diff options
Diffstat (limited to 'cad/kicad/files/patch-include__fctsys.h')
-rw-r--r-- | cad/kicad/files/patch-include__fctsys.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/cad/kicad/files/patch-include__fctsys.h b/cad/kicad/files/patch-include__fctsys.h new file mode 100644 index 000000000000..c396fad3aa76 --- /dev/null +++ b/cad/kicad/files/patch-include__fctsys.h @@ -0,0 +1,17 @@ +--- ./include/fctsys.h.orig Tue Mar 22 15:30:28 2005 ++++ ./include/fctsys.h Thu Dec 1 21:50:58 2005 +@@ -18,8 +18,12 @@ + #endif
+
+ #include <stdio.h>
+-#ifndef __DARWIN__
+-#include <malloc.h> // MacOSX (DARWIN): malloc() and free() are in stdlib.h
++#ifdef __FreeBSD__
++#include <stdlib.h>
++#else
++# ifndef __DARWIN__
++# include <malloc.h> // MacOSX (DARWIN): malloc() and free() are in stdlib.h
++# endif
+ #endif
+ #include <time.h>
+ #include <math.h>
|