--- jfsutils-1.1.15.orig/libfs/fssubs.c
+++ jfsutils-1.1.15/libfs/fssubs.c
@@ -24,6 +24,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <paths.h>
 
 #if HAVE_MNTENT_H
 #include <mntent.h>
@@ -31,7 +32,6 @@
 #endif
 
 #if HAVE_GETMNTINFO
-#include <paths.h>
 #include <sys/param.h>
 #include <sys/mount.h>
 #endif