diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2017-10-29 08:45:54 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2017-10-29 08:45:54 +0000 |
commit | 0ad115de732d7412195a161be8120691c14d5068 (patch) | |
tree | 08ba5687621a1ef14a2c0b57b95f96e644ac8dd3 /lib | |
parent | 2e7e5cd4af3167ce73b3cbffb2bb881fb446644c (diff) |
Prefer <elf.h> to the non portable <sys/exec_elf.h>.
ok jca@, deraadt@
Diffstat (limited to 'lib')
-rw-r--r-- | lib/librthread/rthread.c | 4 | ||||
-rw-r--r-- | lib/librthread/rthread_fork.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/librthread/rthread.c b/lib/librthread/rthread.c index c8735dfe6af..4e4902d0218 100644 --- a/lib/librthread/rthread.c +++ b/lib/librthread/rthread.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rthread.c,v 1.97 2017/10/28 21:23:14 guenther Exp $ */ +/* $OpenBSD: rthread.c,v 1.98 2017/10/29 08:45:53 mpi Exp $ */ /* * Copyright (c) 2004,2005 Ted Unangst <tedu@openbsd.org> * All Rights Reserved. @@ -22,7 +22,7 @@ #include <sys/types.h> #ifndef NO_PIC -#include <sys/exec_elf.h> +#include <elf.h> #pragma weak _DYNAMIC #endif diff --git a/lib/librthread/rthread_fork.c b/lib/librthread/rthread_fork.c index 937b00a66f0..db0d9c0da11 100644 --- a/lib/librthread/rthread_fork.c +++ b/lib/librthread/rthread_fork.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rthread_fork.c,v 1.22 2017/09/05 02:40:54 guenther Exp $ */ +/* $OpenBSD: rthread_fork.c,v 1.23 2017/10/29 08:45:53 mpi Exp $ */ /* * Copyright (c) 2008 Kurt Miller <kurt@openbsd.org> @@ -32,7 +32,7 @@ #ifndef NO_PIC #include <sys/types.h> -#include <sys/exec_elf.h> +#include <elf.h> #pragma weak _DYNAMIC #endif |