summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlaw <devnull@localhost>1998-06-20 00:31:34 +0000
committerlaw <devnull@localhost>1998-06-20 00:31:34 +0000
commitde5461d334f5cc5e1e837a1e292c072d3b9db70f (patch)
tree3f6616b8f9244a9c204db44521761b5754130ec5
parentcda443cfeb155be9f7efe149f13931fe289a26ce (diff)
downloadnss-hg-de5461d334f5cc5e1e837a1e292c072d3b9db70f.tar.gz
Add #includes for OS/2
-rw-r--r--dbm/src/hash.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/dbm/src/hash.c b/dbm/src/hash.c
index 294c975b7..ba852af2a 100644
--- a/dbm/src/hash.c
+++ b/dbm/src/hash.c
@@ -45,6 +45,10 @@ static char sccsid[] = "@(#)hash.c 8.9 (Berkeley) 6/16/94";
#endif
#if !defined(macintosh)
+#ifdef XP_OS2_EMX
+#include <sys/types.h>
+#include "xp_mcom.h" /* For strdup. */
+#endif
#include <sys/stat.h>
#endif
@@ -63,6 +67,7 @@ static char sccsid[] = "@(#)hash.c 8.9 (Berkeley) 6/16/94";
#endif
#ifdef XP_OS2_VACPP
+#include "types.h"
#define EPERM SOCEPERM
#endif