summaryrefslogtreecommitdiffstats
path: root/sys-apps/util-linux/files/util-linux-2.12-swapon-unistd.patch
blob: 982ab1da8dc6d5177c01d0fac5e9a6b696d92a50 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- mount/swapon.c.orig	2004-05-07 15:21:06.909712000 +0000
+++ mount/swapon.c	2004-05-07 15:21:28.319712000 +0000
@@ -21,6 +21,7 @@
 #include <mntent.h>
 #include <errno.h>
 #include <sys/stat.h>
+#include <unistd.h>
 #include "swap_constants.h"
 #include "swapargs.h"
 #include "nls.h"