summaryrefslogtreecommitdiff
path: root/sysdeps/stub/swapon.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/stub/swapon.c')
-rw-r--r--sysdeps/stub/swapon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/stub/swapon.c b/sysdeps/stub/swapon.c
index d580a9a732..cbaa1c2fe3 100644
--- a/sysdeps/stub/swapon.c
+++ b/sysdeps/stub/swapon.c
@@ -18,6 +18,7 @@
#include <errno.h>
#include <unistd.h>
+#include <sys/swap.h>
/* Make the block special device PATH available to the system for swapping.
This call is restricted to the super-user. */