aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2021-03-14 14:33:39 +0000
committerTatsuya Kinoshita <tats@debian.org>2021-03-14 14:33:39 +0000
commitaef9990bcea45dcd548836b22d9f64ba48307577 (patch)
tree4d66fcc51f4f4dfa3c411821019f9a1090cb3881
parentCall wtf_init() in fuzzing (diff)
downloadw3m-aef9990bcea45dcd548836b22d9f64ba48307577.tar.gz
w3m-aef9990bcea45dcd548836b22d9f64ba48307577.zip
Include unistd.h for getpid() and unlink() in fuzzer
-rw-r--r--fuzz/fuzz-conv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fuzz/fuzz-conv.c b/fuzz/fuzz-conv.c
index 0602134..5414742 100644
--- a/fuzz/fuzz-conv.c
+++ b/fuzz/fuzz-conv.c
@@ -1,6 +1,7 @@
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
+#include <unistd.h>
#include <gc.h>
#include "wc.h"
#include "wtf.h"