summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2017-02-18 06:09:02 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2017-02-18 06:09:02 +0000
commitf5afe23a1036737fdd82b8711196a9f92e428a19 (patch)
tree286f00e3528e7bf63752ccdae910a8ae192a7c52 /sys
parent91c3a07fcd4c487a71ee43675e2328e68dbef15d (diff)
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@
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/exec_elf.h4
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;