]> granicus.if.org Git - strace/commitdiff
Include "scno.h" in files that check __NR_* constants
authorDmitry V. Levin <ldv@altlinux.org>
Mon, 2 Jan 2017 22:37:57 +0000 (22:37 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 3 Jan 2017 11:27:35 +0000 (11:27 +0000)
* strace.c: Include "scno.h".
* util.c: Likewise.

strace.c
util.c

index 1465d704602dc0bb4db66cf5e0b0864620e66544..440ff4c4cee26440132c973caa2fd1050b732cfd 100644 (file)
--- a/strace.c
+++ b/strace.c
@@ -45,6 +45,7 @@
 #endif
 #include <asm/unistd.h>
 
+#include "scno.h"
 #include "ptrace.h"
 #include "printsiginfo.h"
 
diff --git a/util.c b/util.c
index 08880bf9727d1049a271e7d54d9a5f3c304ebdb8..0e062da3e56a679ffbda3f8e62c23f94cda1c470 100644 (file)
--- a/util.c
+++ b/util.c
@@ -41,6 +41,7 @@
 #include <sys/uio.h>
 #include <asm/unistd.h>
 
+#include "scno.h"
 #include "regs.h"
 #include "ptrace.h"