Enclose header in an #ifdef statement to prevent it from being included

twice.
This commit is contained in:
Ulrich Drepper 1999-09-01 16:34:56 +00:00
parent 7f3e8e7146
commit 2788ea804d

View File

@ -1,5 +1,5 @@
/* Definition of `struct sigcontext' for Linux/ARM
Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@ -21,6 +21,9 @@
Fortunately 2.0 puts a magic number in the first word and this is not
a legal value for `trap_no', so we can tell them apart. */
#ifndef __ARMSIGCTX_H
#define __ARMSIGCTX_H 1
#include <asm/ptrace.h>
union k_sigcontext
@ -59,3 +62,5 @@ union k_sigcontext
};
#define SIGCONTEXT_2_0_MAGIC 0x4B534154
#endif /* bits/armsigctx.h */