summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authormarc <marc@openbsd.org>2003-04-25 19:16:12 +0000
committermarc <marc@openbsd.org>2003-04-25 19:16:12 +0000
commitbe7ded7ec807fbd262c6feeeb67608914ca63abf (patch)
tree51536493cb530849b1b115e727966aa6ba8b028d /include
parentcheck asprintf return value for error as well, some implementations do (diff)
downloadwireguard-openbsd-be7ded7ec807fbd262c6feeeb67608914ca63abf.tar.xz
wireguard-openbsd-be7ded7ec807fbd262c6feeeb67608914ca63abf.zip
Add DL_SETTHREADLCK. "pretty obviously safe i think" teddu@
Diffstat (limited to 'include')
-rw-r--r--include/dlfcn.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/dlfcn.h b/include/dlfcn.h
index efb896b9a07..b2c86bb7fc0 100644
--- a/include/dlfcn.h
+++ b/include/dlfcn.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dlfcn.h,v 1.6 2002/06/02 22:49:59 deraadt Exp $ */
+/* $OpenBSD: dlfcn.h,v 1.7 2003/04/25 19:16:12 marc Exp $ */
/* $NetBSD: dlfcn.h,v 1.2 1995/06/05 19:38:00 pk Exp $ */
/*
@@ -59,5 +59,6 @@ __END_DECLS
#define DL_GETLIST x
#define DL_GETREFCNT x
#define DL_GETLOADADDR x
+#define DL_SETTHREADLCK 2
#endif /* _DLFCN_H_ */