diff options
| author | Andrey Konovalov <andreyknvl@google.com> | 2017-06-13 13:54:03 +0200 |
|---|---|---|
| committer | Andrey Konovalov <andreyknvl@google.com> | 2017-06-13 13:54:03 +0200 |
| commit | 208a7ced74c8b511a761c65f19c7cb95bc3805d6 (patch) | |
| tree | 9e0f75e8b9385a75e6a53dcb24a28b136969039b | |
| parent | 75fc393514b64e2416c5a2d5a29997981ec12dc4 (diff) | |
executor: add sys/sysmacros.h include for makedev in newer gcc
| -rw-r--r-- | csource/common.go | 1 | ||||
| -rw-r--r-- | executor/common.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/csource/common.go b/csource/common.go index 8c63b637e..242df15a1 100644 --- a/csource/common.go +++ b/csource/common.go @@ -104,6 +104,7 @@ var commonHeader = ` #include <fcntl.h> #include <stdio.h> #include <sys/stat.h> +#include <sys/sysmacros.h> #endif #ifdef __NR_syz_open_pts #include <fcntl.h> diff --git a/executor/common.h b/executor/common.h index 7778cb7e0..6a166b6dd 100644 --- a/executor/common.h +++ b/executor/common.h @@ -103,6 +103,7 @@ #include <fcntl.h> #include <stdio.h> #include <sys/stat.h> +#include <sys/sysmacros.h> #endif #ifdef __NR_syz_open_pts #include <fcntl.h> |
