xfstests: fix build errors and warnings
[xfstests-dev.git] / dmapi / src / suite2 / src / test_dmattr.c
index cf870772c4c44668c41b1eb39356c75d72a08cad..a8a05958003fea2f20cb9eb70a2c9280f56ba8c2 100644 (file)
@@ -16,6 +16,7 @@
  * Inc.,  51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
+#include <unistd.h>
 #include <sys/types.h>
 #include <sys/stat.h>