summaryrefslogtreecommitdiff
path: root/connect/ncbi_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'connect/ncbi_util.c')
-rw-r--r--connect/ncbi_util.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/connect/ncbi_util.c b/connect/ncbi_util.c
index d29ca350..f986ccdb 100644
--- a/connect/ncbi_util.c
+++ b/connect/ncbi_util.c
@@ -49,7 +49,9 @@
# ifndef NCBI_OS_SOLARIS
# include <limits.h>
# endif /*!NCBI_OS_SOLARIS*/
-# ifdef NCBI_OS_LINUX
+# ifdef __MACH__
+# include <mach/vm_param.h>
+# elif defined(NCBI_OS_LINUX)
# include <sys/user.h>
# endif /*NCBI_OS_LINUX*/
# include <pwd.h>