summaryrefslogtreecommitdiffstats
path: root/src/polypcore/xmalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/polypcore/xmalloc.c')
-rw-r--r--src/polypcore/xmalloc.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/polypcore/xmalloc.c b/src/polypcore/xmalloc.c
index bf366347..4c8689a6 100644
--- a/src/polypcore/xmalloc.c
+++ b/src/polypcore/xmalloc.c
@@ -27,11 +27,12 @@
#include <signal.h>
#include <assert.h>
#include <unistd.h>
+#include <string.h>
+
+#include <polypcore/util.h>
+#include <polypcore/gccmacro.h>
-#include "memory.h"
-#include "util.h"
#include "xmalloc.h"
-#include "gccmacro.h"
/* Make sure not to allocate more than this much memory. */
#define MAX_ALLOC_SIZE (1024*1024*20) /* 20MB */