diff options
| author | Greg Steuck <blackgnezdo@gmail.com> | 2018-12-02 05:18:07 -0800 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-12-02 13:18:07 +0000 |
| commit | 88746fdf89106818da2ef7c64f1cfdc8488f6f2b (patch) | |
| tree | 38d587a6c22ec4ed095a3a09278f4775ca61dbf3 /pkg | |
| parent | e0d8c853f6c076c991406ce107a8242529eb3b3a (diff) | |
pkg/csource: use defines from sys/syscall.h on *bsd
Fixes #841
Diffstat (limited to 'pkg')
| -rw-r--r-- | pkg/csource/generated.go | 1 |
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 |
