diff options
| author | 2017-10-29 08:45:53 +0000 | |
|---|---|---|
| committer | 2017-10-29 08:45:53 +0000 | |
| commit | 9f79a69831e4879318a9c62b1da26ebbbfc9edc0 (patch) | |
| tree | 5e215bd16f9948a8234e3853e6ce87ebac259c1c /lib/librthread/rthread.c | |
| parent | Sync example with description. (diff) | |
| download | wireguard-openbsd-9f79a69831e4879318a9c62b1da26ebbbfc9edc0.tar.xz wireguard-openbsd-9f79a69831e4879318a9c62b1da26ebbbfc9edc0.zip | |
Prefer <elf.h> to the non portable <sys/exec_elf.h>.
ok jca@, deraadt@
Diffstat (limited to 'lib/librthread/rthread.c')
| -rw-r--r-- | lib/librthread/rthread.c | 4 |
1 files changed, 2 insertions, 2 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 |
