summaryrefslogtreecommitdiff
path: root/dbm
diff options
context:
space:
mode:
authormkaply%us.ibm.com <devnull@localhost>2003-01-20 23:13:38 +0000
committermkaply%us.ibm.com <devnull@localhost>2003-01-20 23:13:38 +0000
commite35aa7bb9160be87b99386a65ef1f8178aaf103e (patch)
tree2e22416d1a764442cfe90bee6e59092b27d68399 /dbm
parentb8dcb976ee51a80d04d49cd24c72c8abc7689d4f (diff)
downloadnss-hg-e35aa7bb9160be87b99386a65ef1f8178aaf103e.tar.gz
#95128
r=pedemont, r=wtc, sr=dmose OS/2 only - remove dependency on OS/2 specific dirent in dbm code That was also the previous checkin to mcom_db.h - messed up the comment
Diffstat (limited to 'dbm')
-rw-r--r--dbm/src/hash.c5
-rw-r--r--dbm/src/mktemp.c2
-rw-r--r--dbm/src/ndbm.c4
3 files changed, 0 insertions, 11 deletions
diff --git a/dbm/src/hash.c b/dbm/src/hash.c
index d984c5f30..a4e73e499 100644
--- a/dbm/src/hash.c
+++ b/dbm/src/hash.c
@@ -69,11 +69,6 @@ static char sccsid[] = "@(#)hash.c 8.9 (Berkeley) 6/16/94";
#include <windows.h>
#endif
-#ifdef XP_OS2_VACPP
-#include "types.h"
-#define EPERM SOCEPERM
-#endif
-
#include <assert.h>
#include "mcom_db.h"
diff --git a/dbm/src/mktemp.c b/dbm/src/mktemp.c
index 574eb9fe5..78cbc9edb 100644
--- a/dbm/src/mktemp.c
+++ b/dbm/src/mktemp.c
@@ -54,9 +54,7 @@ static char sccsid[] = "@(#)mktemp.c 8.1 (Berkeley) 6/4/93";
#endif
#ifdef XP_OS2_VACPP
-#define ENOTDIR EBADPOS
#include <process.h>
-#include <dirent.h>
#endif
#ifdef _WINDOWS
diff --git a/dbm/src/ndbm.c b/dbm/src/ndbm.c
index 03d5cf381..ca008de0c 100644
--- a/dbm/src/ndbm.c
+++ b/dbm/src/ndbm.c
@@ -52,10 +52,6 @@ static char sccsid[] = "@(#)ndbm.c 8.4 (Berkeley) 7/21/94";
#include <linux/limits.h>
#endif
-#ifdef __OS2__
-#include "dirent.h"
-#endif
-
#include <stdio.h>
#include <string.h>