summaryrefslogtreecommitdiff
path: root/netbsd
diff options
context:
space:
mode:
authorKamil Rytarowski <n54@gmx.com>2018-08-20 11:29:45 +0200
committerKamil Rytarowski <n54@gmx.com>2018-08-20 11:29:45 +0200
commitbde3da8d7a1cd360411c2a18d1d74b5ec4489b7d (patch)
tree0ce3b239e821af893fa15bdde7c3d33be3257e32 /netbsd
parentdc328e994f889167fc1b536ff447a6399ebe25eb (diff)
downloadhonggfuzz-bde3da8d7a1cd360411c2a18d1d74b5ec4489b7d.tar.gz
NetBSD related fixups
Add more mentions of NetBSD in README.md. Correct dependency file in Makefile linux/unwind.h -> netbsd/unwind.h. Restore removed include <sys/types.h> in netbsd/arch.c and netbsd/trace.h and decorate it with clang-format attributes.
Diffstat (limited to 'netbsd')
-rw-r--r--netbsd/arch.c4
-rw-r--r--netbsd/trace.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/netbsd/arch.c b/netbsd/arch.c
index 33d8bebf..a99bdcce 100644
--- a/netbsd/arch.c
+++ b/netbsd/arch.c
@@ -23,7 +23,11 @@
#include "arch.h"
+// clang-format off
#include <sys/param.h>
+#include <sys/types.h>
+// clang-format on
+
#include <sys/ptrace.h>
#include <sys/syscall.h>
#include <sys/time.h>
diff --git a/netbsd/trace.c b/netbsd/trace.c
index c9858ed9..dd97dcbd 100644
--- a/netbsd/trace.c
+++ b/netbsd/trace.c
@@ -23,7 +23,11 @@
#include "netbsd/trace.h"
+// clang-format off
#include <sys/param.h>
+#include <sys/types.h>
+// clang-format on
+
#include <sys/ptrace.h>
#include <sys/resource.h>
#include <sys/stat.h>