aboutsummaryrefslogtreecommitdiffstats
path: root/ortho/mcode/memsegs_c.c
diff options
context:
space:
mode:
Diffstat (limited to 'ortho/mcode/memsegs_c.c')
-rw-r--r--ortho/mcode/memsegs_c.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ortho/mcode/memsegs_c.c b/ortho/mcode/memsegs_c.c
index c3114230b..f0a0e27d5 100644
--- a/ortho/mcode/memsegs_c.c
+++ b/ortho/mcode/memsegs_c.c
@@ -34,6 +34,10 @@
#define HAVE_MREMAP
#endif
+#ifndef HAVE_MREMAP
+#include <string.h>
+#endif
+
void *
mmap_malloc (int size)
{