summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2011-01-06 09:23:27 (GMT)
committer Vincent Sanders <vince@netsurf-browser.org>2011-01-06 09:23:27 (GMT)
commit9abe5e0b89235c5a2a8e0f2a0a3557b1e7dd6adc (patch)
treead49cf87d29f12d0269306b02ff9c961b1a02fa9
parentaf49f5cbf103afc3878cb13b70b6549db752c73b (diff)
downloadlibnsfb-9abe5e0b89235c5a2a8e0f2a0a3557b1e7dd6adc.tar.gz
libnsfb-9abe5e0b89235c5a2a8e0f2a0a3557b1e7dd6adc.tar.bz2
remove malloc.h anachronism
svn path=/trunk/libnsfb/; revision=11226
-rw-r--r--src/libnsfb.c2
-rw-r--r--src/plot/generic.c2
-rw-r--r--src/surface/surface.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/libnsfb.c b/src/libnsfb.c
index 781eaab..405df2c 100644
--- a/src/libnsfb.c
+++ b/src/libnsfb.c
@@ -8,7 +8,7 @@
#include <stdbool.h>
#include <stdio.h>
-#include <malloc.h>
+#include <stdlib.h>
#include "libnsfb.h"
#include "libnsfb_plot.h"
diff --git a/src/plot/generic.c b/src/plot/generic.c
index 3d84104..01a8587 100644
--- a/src/plot/generic.c
+++ b/src/plot/generic.c
@@ -13,7 +13,7 @@
#include <stdbool.h>
#include <limits.h>
-#include <malloc.h>
+#include <stdlib.h>
#include <string.h>
#include "libnsfb.h"
diff --git a/src/surface/surface.c b/src/surface/surface.c
index 17d6113..6fa65a8 100644
--- a/src/surface/surface.c
+++ b/src/surface/surface.c
@@ -9,7 +9,7 @@
#include <stdbool.h>
#include <stdio.h>
#include <unistd.h>
-#include <malloc.h>
+#include <stdlib.h>
#include <string.h>
#include "frontend.h"