projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sb-bsd-sockets: More robust inet-socket-bind test on Windows.
[sbcl.git]
/
src
/
runtime
/
os-common.c
diff --git
a/src/runtime/os-common.c
b/src/runtime/os-common.c
index
c5e082f
..
f57b643
100644
(file)
--- a/
src/runtime/os-common.c
+++ b/
src/runtime/os-common.c
@@
-8,7
+8,7
@@
* provided with absolutely no warranty. See the COPYING and CREDITS
* files for more information.
*/
* provided with absolutely no warranty. See the COPYING and CREDITS
* files for more information.
*/
-
+# define _GNU_SOURCE /* needed for RTLD_DEFAULT from dlfcn.h */
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <stdio.h>
#include <errno.h>
#include <string.h>
@@
-27,7
+27,6
@@
#include "os.h"
#include "interr.h"
#if defined(LISP_FEATURE_OS_PROVIDES_DLOPEN) && !defined(LISP_FEATURE_WIN32)
#include "os.h"
#include "interr.h"
#if defined(LISP_FEATURE_OS_PROVIDES_DLOPEN) && !defined(LISP_FEATURE_WIN32)
-# define __USE_GNU /* needed for RTLD_DEFAULT */
# include <dlfcn.h>
#endif
# include <dlfcn.h>
#endif