diff --git a/tests/sys/fifo/fifo_misc.c b/tests/sys/fifo/fifo_misc.c index 888547e32fcd..2c834b127e63 100644 --- a/tests/sys/fifo/fifo_misc.c +++ b/tests/sys/fifo/fifo_misc.c @@ -30,6 +30,7 @@ #include #include #include +#include #include #include @@ -149,7 +150,7 @@ test_truncate(void) } static int -test_ioctl_setclearflag(int fd, int flag, const char *testname, +test_ioctl_setclearflag(int fd, unsigned long flag, const char *testname, const char *fdname, const char *flagname) { int i;