diff options
author | 2017-02-18 06:09:01 +0000 | |
---|---|---|
committer | 2017-02-18 06:09:01 +0000 | |
commit | ba80068f6e2e11d9e3c6762d0db5f66851ec483f (patch) | |
tree | e9717662132fe79f6320fc4012c7f9bc935d4e2f | |
parent | Add miniroot and ramdisk hooks for the Raspberry Pi 3. (diff) | |
download | wireguard-openbsd-ba80068f6e2e11d9e3c6762d0db5f66851ec483f.tar.xz wireguard-openbsd-ba80068f6e2e11d9e3c6762d0db5f66851ec483f.zip |
Include sys/types.h rather than machine/_types.h. With this change
link.h can be included without first including sys/types.h matching the
behaviour on other systems.
Suggested by and ok guenther@
-rw-r--r-- | sys/sys/exec_elf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/exec_elf.h b/sys/sys/exec_elf.h index 3a69666f77e..015003980aa 100644 --- a/sys/sys/exec_elf.h +++ b/sys/sys/exec_elf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: exec_elf.h,v 1.71 2017/02/08 05:09:25 guenther Exp $ */ +/* $OpenBSD: exec_elf.h,v 1.72 2017/02/18 06:09:01 jsg Exp $ */ /* * Copyright (c) 1995, 1996 Erik Theisen. All rights reserved. * @@ -33,7 +33,7 @@ #ifndef _SYS_EXEC_ELF_H_ #define _SYS_EXEC_ELF_H_ -#include <machine/_types.h> +#include <sys/types.h> #include <machine/exec.h> typedef __uint8_t Elf_Byte; |