engines/net.c: fix compilation error due to missing signal.h include
authorSteven Noonan <snoonan@amazon.com>
Sat, 1 Dec 2012 08:16:55 +0000 (08:16 +0000)
committerJens Axboe <axboe@kernel.dk>
Sat, 1 Dec 2012 08:37:24 +0000 (09:37 +0100)
Corrects this build failure:

engines/net.c: In function 'fio_netio_terminate':
engines/net.c:900:2: warning: implicit declaration of function 'kill' [-Wimplicit-function-declaration]
engines/net.c:900:16: error: 'SIGUSR2' undeclared (first use in this function)
engines/net.c:900:16: note: each undeclared identifier is reported only once for each function it appears in

Signed-off-by: Steven Noonan <snoonan@amazon.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
engines/net.c

index 81e173ccbffd82f2ca92e4857238ffeb435d4bc6..edb5577660f032159f400a655c35eff426920d10 100644 (file)
@@ -7,6 +7,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
+#include <signal.h>
 #include <errno.h>
 #include <assert.h>
 #include <netinet/in.h>