aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2020-06-21 00:22:57 -0700
committerMattias Andrée <maandree@kth.se>2020-06-21 09:44:02 +0200
commit95fc2f25cb8ca2f5c556006714e9770ac50bd822 (patch)
tree226a602883600703ad88042c8bec86e2439a378e
parentUse standard W* macros to check stop signal (diff)
downloadsctrace-95fc2f25cb8ca2f5c556006714e9770ac50bd822.tar.gz
sctrace-95fc2f25cb8ca2f5c556006714e9770ac50bd822.tar.bz2
sctrace-95fc2f25cb8ca2f5c556006714e9770ac50bd822.tar.xz
Include asm/unistd.h for __X32_SYSCALL_BIT
-rw-r--r--sctrace.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sctrace.c b/sctrace.c
index 3d2669a..d7e1766 100644
--- a/sctrace.c
+++ b/sctrace.c
@@ -1,6 +1,8 @@
/* See LICENSE file for copyright and license details. */
#include "common.h"
+#include <asm/unistd.h>
+
char *argv0;
static unsigned long int trace_options = PTRACE_O_EXITKILL | PTRACE_O_TRACESYSGOOD | PTRACE_O_TRACEEXEC;