diff options
Diffstat (limited to 'libc/sysdeps')
-rw-r--r-- | libc/sysdeps/linux/common/swapon.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/swapon.c b/libc/sysdeps/linux/common/swapon.c index d5a5c235a..f8c1e6a2b 100644 --- a/libc/sysdeps/linux/common/swapon.c +++ b/libc/sysdeps/linux/common/swapon.c @@ -8,5 +8,10 @@ */ #include "syscalls.h" + +#ifdef __NR_swapon + #include <sys/swap.h> _syscall2(int, swapon, const char *, path, int, swapflags); + +#endif |