diff --git a/nsprpub/config/NetBSD.mk b/nsprpub/config/NetBSD.mk index b1a5c7599719..6cb1988f9dbd 100644 --- a/nsprpub/config/NetBSD.mk +++ b/nsprpub/config/NetBSD.mk @@ -44,6 +44,8 @@ endif ARCH = netbsd +DLL_SUFFIX = so.1.0 + DSO_CFLAGS = -fPIC DSO_LDFLAGS = DSO_LDOPTS = -Bshareable diff --git a/nsprpub/pr/include/md/_netbsd.h b/nsprpub/pr/include/md/_netbsd.h index 497d658b5334..e604349f362a 100644 --- a/nsprpub/pr/include/md/_netbsd.h +++ b/nsprpub/pr/include/md/_netbsd.h @@ -48,6 +48,8 @@ #define HAVE_DLL #define USE_DLFCN #define _PR_HAVE_SOCKADDR_LEN +#define _PR_NO_LARGE_FILES +#define _PR_STAT_HAS_ST_ATIMESPEC #define USE_SETJMP