lapi: Add seek.h for SEEK_DATA and SEEK_HOLE

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
diff --git a/include/lapi/fallocate.h b/include/lapi/fallocate.h
index 920999c..83a7986 100644
--- a/include/lapi/fallocate.h
+++ b/include/lapi/fallocate.h
@@ -21,12 +21,9 @@
 #include <endian.h>
 #include "config.h"
 #include "lapi/abisize.h"
+#include "lapi/seek.h"
 #include "linux_syscall_numbers.h"
 
-#ifndef SEEK_HOLE
-# define SEEK_HOLE 4
-#endif
-
 #ifndef FALLOC_FL_KEEP_SIZE
 # define FALLOC_FL_KEEP_SIZE 0x01
 #endif
diff --git a/include/lapi/seek.h b/include/lapi/seek.h
new file mode 100644
index 0000000..fe1999f
--- /dev/null
+++ b/include/lapi/seek.h
@@ -0,0 +1,31 @@
+/*
+ * Copyright (c) 2017 Cyril Hrubis <chrubis@suse.cz>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef SEEK_H__
+#define SEEK_H__
+
+#include <unistd.h>
+
+#ifndef DATA_HOLE
+# define DATA_HOLE 4
+#endif
+
+#ifndef SEEK_HOLE
+# define SEEK_HOLE 4
+#endif
+
+#endif /* SEEK_H__ */