diff options
-rw-r--r-- | Python/dynload_shlib.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Python/dynload_shlib.c b/Python/dynload_shlib.c index 548863a..569a6f5 100644 --- a/Python/dynload_shlib.c +++ b/Python/dynload_shlib.c @@ -6,18 +6,19 @@ #include <sys/types.h> #include <sys/stat.h> + #if defined(__NetBSD__) #include <sys/param.h> #if (NetBSD < 199712) #include <nlist.h> #include <link.h> #define dlerror() "error in dynamic linking" -#else +#endif +#endif /* NetBSD */ + #ifdef HAVE_DLFCN_H #include <dlfcn.h> #endif -#endif -#endif /* NetBSD */ #if (defined(__OpenBSD__) || defined(__NetBSD__)) && !defined(__ELF__) #define LEAD_UNDERSCORE "_" |