xfstests: fix build errors and warnings
[xfstests-dev.git] / src / xfsctl.c
index 3f82f4adb3500637637da4a80423a32f5c400b13..bf2a873a1457cf57a629033b4e42d3f528048924 100644 (file)
  * Inc.,  51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
 #include <sys/stat.h>
+#include <sys/types.h>
+#include <fcntl.h>
 
 #include <xfs/xfs.h>
 #include <xfs/jdm.h>