forked from Lainports/freebsd-ports
- Dont link libc and prevent installing useless files PR: 32070 Submitted by: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> Approved by: lioux
12 lines
318 B
C
12 lines
318 B
C
--- src/gd.c.orig Mon Oct 2 21:44:49 2000
|
|
+++ src/gd.c Tue Nov 20 22:15:17 2001
|
|
@@ -1,6 +1,6 @@
|
|
-#ifndef _OSD_POSIX /* _OSD_POSIX defines *alloc() in stdlib.h */
|
|
-#include <malloc.h>
|
|
-#endif /*_OSD_POSIX*/
|
|
+#ifdef HAVE_CONFIG_H
|
|
+#include "config.h"
|
|
+#endif
|
|
#include <stdio.h>
|
|
#include <math.h>
|
|
#include <string.h>
|