summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/mlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/mlock.c')
-rw-r--r--libc/sysdeps/linux/common/mlock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/mlock.c b/libc/sysdeps/linux/common/mlock.c
index 3eb72bb07..55b77a5d5 100644
--- a/libc/sysdeps/linux/common/mlock.c
+++ b/libc/sysdeps/linux/common/mlock.c
@@ -7,7 +7,7 @@
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
-#include "syscalls.h"
+#include <sys/syscall.h>
#include <sys/mman.h>
#if defined __ARCH_USE_MMU__ && defined __NR_mlock
_syscall2(int, mlock, const void *, addr, size_t, len);