Whamcloud - gitweb
Branch HEAD
[fs/lustre-release.git] / lustre / tests / testreq.c
index bfcbb5e..0b19a44 100644 (file)
@@ -33,7 +33,8 @@
 #include <getopt.h>
 #undef _GNU_SOURCE
 
-#include <linux/lustre_mds.h>
+#include <liblustre.h>
+#include <lustre_mds.h>
 
 static void usage(char *argv0, int status)
 {
@@ -52,7 +53,10 @@ static void usage(char *argv0, int status)
 
 int main(int argc, char **argv)
 {
-        int fd, rc, c, cmd = 0;
+        int fd = 0;
+        int rc = 0;
+        int c  = 0;
+        long cmd = 0;
         unsigned long arg;
         char *short_opts = "h", *name = argv[0];
         static struct option long_opts[] = {