Skip to content

Commit

Permalink
libproc, arm64: add missing header
Browse files Browse the repository at this point in the history
struct user_pt_regs is kept in <asm/ptrace.h> and might not be
included by <sys/ptrace.h> on some glibc versions.

Signed-off-by: Nick Alcock <nick.alcock@oracle.com>
  • Loading branch information
nickalcock committed Nov 25, 2020
1 parent 7e7069c commit 07972b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libproc/arm64/isadep.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

/*
* Oracle Linux DTrace.
* Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2013, 2020, Oracle and/or its affiliates. All rights reserved.
* Licensed under the Universal Permissive License v 1.0 as shown at
* http://oss.oracle.com/licenses/upl.
*/
Expand All @@ -13,6 +13,7 @@
#include <errno.h>
#include <string.h>
#include <sys/ptrace.h>
#include <asm/ptrace.h>

#include "Pcontrol.h"
#include "libproc.h"
Expand Down

0 comments on commit 07972b6

Please sign in to comment.