aboutsummaryrefslogtreecommitdiff
path: root/lib/profile/InstrProfilingPlatformLinux.c
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2019-01-19 10:05:08 +0000
committerDimitry Andric <dim@FreeBSD.org>2019-01-19 10:05:08 +0000
commit0646903fc1f75f6e605754621119473ee083f4a4 (patch)
tree57bce79a7423a054cccec23bdf6cd96e2d271b4a /lib/profile/InstrProfilingPlatformLinux.c
parent005b7ed8f76756d94ef6266ded755ab7863cb936 (diff)
Diffstat (limited to 'lib/profile/InstrProfilingPlatformLinux.c')
-rw-r--r--lib/profile/InstrProfilingPlatformLinux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/profile/InstrProfilingPlatformLinux.c b/lib/profile/InstrProfilingPlatformLinux.c
index a517821a2fbd..3764df1d8079 100644
--- a/lib/profile/InstrProfilingPlatformLinux.c
+++ b/lib/profile/InstrProfilingPlatformLinux.c
@@ -8,7 +8,7 @@
\*===----------------------------------------------------------------------===*/
#if defined(__linux__) || defined(__FreeBSD__) || defined(__Fuchsia__) || \
- (defined(__sun__) && defined(__svr4__))
+ (defined(__sun__) && defined(__svr4__)) || defined(__NetBSD__)
#include <stdlib.h>