aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/csource/generated.go
diff options
context:
space:
mode:
authorGreg Steuck <blackgnezdo@gmail.com>2018-12-02 05:18:07 -0800
committerDmitry Vyukov <dvyukov@google.com>2018-12-02 13:18:07 +0000
commit88746fdf89106818da2ef7c64f1cfdc8488f6f2b (patch)
tree38d587a6c22ec4ed095a3a09278f4775ca61dbf3 /pkg/csource/generated.go
parente0d8c853f6c076c991406ce107a8242529eb3b3a (diff)
pkg/csource: use defines from sys/syscall.h on *bsd
Fixes #841
Diffstat (limited to 'pkg/csource/generated.go')
-rw-r--r--pkg/csource/generated.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/csource/generated.go b/pkg/csource/generated.go
index c3e57da39..a7bfe74d0 100644
--- a/pkg/csource/generated.go
+++ b/pkg/csource/generated.go
@@ -405,6 +405,7 @@ void child()
#include <stdarg.h>
#include <stdbool.h>
#include <string.h>
+#include <sys/syscall.h>
#if GOOS_openbsd