]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - tools/getiversion/getiversion.c
Autogen update
[nfs-utils.git] / tools / getiversion / getiversion.c
index e9cb391eee73db305b5dce574dc53c38a2f5e185..fdaf102cf3c8446ce112657406eace81e4d064c9 100644 (file)
@@ -4,11 +4,22 @@
  * Get version number for an inode on an ext2 file system.
  */
 
-#include "config.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
+#ifdef HAVE_SYS_IOCTL_H
 #include <sys/ioctl.h>
+#endif
+
+#ifdef HAVE_UNISTD_H
 #include <unistd.h>
+#endif
+
+#ifdef HAVE_FCNTL_H
 #include <fcntl.h>
+#endif
+
 #include <stdio.h>
 #include <sys/fs/ext2fs.h>