summaryrefslogtreecommitdiff
path: root/src/mman/posix_madvise.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-04-20 15:36:15 -0400
committerRich Felker <dalias@aerifal.cx>2011-04-20 15:36:15 -0400
commit53ab4e793bcff0dd5fa9cf76a4170cbacae342c9 (patch)
tree9f51bfd34a745e708cc8d95d7b046ec2b537eaac /src/mman/posix_madvise.c
parent23573509244d4d5b4dc6d114b5807f72418f3411 (diff)
downloadmusl-53ab4e793bcff0dd5fa9cf76a4170cbacae342c9.tar.gz
fix missing include in posix_madvise.c (compile error)
Diffstat (limited to 'src/mman/posix_madvise.c')
-rw-r--r--src/mman/posix_madvise.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mman/posix_madvise.c b/src/mman/posix_madvise.c
index b76f1a75..e5e5acb8 100644
--- a/src/mman/posix_madvise.c
+++ b/src/mman/posix_madvise.c
@@ -1,5 +1,6 @@
#define _GNU_SOURCE
#include <sys/mman.h>
+#include "syscall.h"
int posix_madvise(void *addr, size_t len, int advice)
{