File linux-ftools_use_asm_unistd_h.patch of Package linux-ftools

From:  david.t....@gmail.com
Subject: linux ftools use asm unistd h

unistd_64.h is debian specific.
unistd.h has a ifdef that selects the right distribution

This is based on patch from david.t....@gmail.com found at
https://code.google.com/p/linux-ftools/issues/detail?id=5

Signed-off-by: david.t....@gmail.com
Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
---
 linux-fadvise.c   |    2 +-
 linux-fallocate.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Index: linux-ftools-2a7918d4b81b/linux-fadvise.c
===================================================================
--- linux-ftools-2a7918d4b81b.orig/linux-fadvise.c
+++ linux-ftools-2a7918d4b81b/linux-fadvise.c
@@ -5,7 +5,7 @@
 #include <sys/stat.h>
 #include <unistd.h>
 #include <sys/syscall.h>
-#include <asm/unistd_64.h>
+#include <asm/unistd.h>
 #include <errno.h>
 #include <fcntl.h>
 #include <stdlib.h>
Index: linux-ftools-2a7918d4b81b/linux-fallocate.c
===================================================================
--- linux-ftools-2a7918d4b81b.orig/linux-fallocate.c
+++ linux-ftools-2a7918d4b81b/linux-fallocate.c
@@ -4,7 +4,7 @@
 #include <sys/stat.h>
 #include <unistd.h>
 #include <sys/syscall.h>
-#include <asm/unistd_64.h>
+#include <asm/unistd.h>
 #include <errno.h>
 #include <fcntl.h>
 #include <stdlib.h>