diff options
| -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> |
