Skip to content

Commit 54fd6e1

Browse files
committed
Include linux/elf.h, not elf.h to make sure we get NT_ARM_SYSTEM_CALL.
The NT_PRSTATUS define is present in both files. --HG-- branch : 1.9
1 parent 0b1f35c commit 54fd6e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/exec_ptrace.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
#ifndef SUDO_EXEC_PTRACE_H
1818
#define SUDO_EXEC_PTRACE_H
1919

20-
#include <elf.h>
2120
#include <sys/prctl.h>
2221
#include <sys/ptrace.h>
2322
#include <sys/user.h>
2423
#include <asm/unistd.h>
2524
#include <linux/audit.h>
25+
#include <linux/elf.h>
2626
#include <linux/ptrace.h>
2727
#include <linux/seccomp.h>
2828
#include <linux/filter.h>

0 commit comments

Comments
 (0)