summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"