blob: 5b0204f9ecf52780175a5e7e864f25bad044a2f9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- src/lib/lwp/sem.c.orig Sat Dec 16 18:54:39 2000
+++ src/lib/lwp/sem.c Sat Dec 16 18:55:01 2000
@@ -20,7 +20,11 @@
* Imperial College of Science, Technology and Medicine, 180 Queen's
* Gate, London SW7 2BZ, England.
*/
+#if defined(__FreeBSD__)
+#include <stdlib.h>
+#else
#include <malloc.h>
+#endif
#include <string.h>
#include "lwp.h"
|