summaryrefslogtreecommitdiff
path: root/nt/inc
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-04-12 04:48:18 +0000
committerKarl Heuer <kwzh@gnu.org>1995-04-12 04:48:18 +0000
commit57925ed2b35c4ad05330a0ab5583f1d24231f48a (patch)
treeb9c54cd1b8ca3e3e8a15de405f0b6f3227998e5e /nt/inc
parent8d2d16704eff9634502b32b9e236362796173cf0 (diff)
downloademacs-57925ed2b35c4ad05330a0ab5583f1d24231f48a.tar.gz
Initial revision
Diffstat (limited to 'nt/inc')
-rw-r--r--nt/inc/pwd.h18
-rw-r--r--nt/inc/sys/dir.h5
-rw-r--r--nt/inc/sys/file.h5
-rw-r--r--nt/inc/sys/ioctl.h5
-rw-r--r--nt/inc/sys/param.h10
5 files changed, 43 insertions, 0 deletions
diff --git a/nt/inc/pwd.h b/nt/inc/pwd.h
new file mode 100644
index 00000000000..2361d52248c
--- /dev/null
+++ b/nt/inc/pwd.h
@@ -0,0 +1,18 @@
+#ifndef _PWD_H_
+#define _PWD_H_
+/*
+ * pwd.h doesn't exist on NT, so we put together our own.
+ */
+
+struct passwd {
+ char *pw_name;
+ char *pw_passwd;
+ int pw_uid;
+ int pw_gid;
+ int pw_quota;
+ char *pw_gecos;
+ char *pw_dir;
+ char *pw_shell;
+};
+
+#endif /* _PWD_H_ */
diff --git a/nt/inc/sys/dir.h b/nt/inc/sys/dir.h
new file mode 100644
index 00000000000..203e27f2fe7
--- /dev/null
+++ b/nt/inc/sys/dir.h
@@ -0,0 +1,5 @@
+/*
+ * map sys\dir.h to ..\..\..\src\ndir.h
+ */
+
+#include "..\..\..\src\ndir.h"
diff --git a/nt/inc/sys/file.h b/nt/inc/sys/file.h
new file mode 100644
index 00000000000..698dc7861c9
--- /dev/null
+++ b/nt/inc/sys/file.h
@@ -0,0 +1,5 @@
+/*
+ * sys\file.h doesn't exist on NT...rather than including it conditionally
+ * in some of the source files, we just extend the include path so that the
+ * compiler will pick up this empty header instead.
+ */
diff --git a/nt/inc/sys/ioctl.h b/nt/inc/sys/ioctl.h
new file mode 100644
index 00000000000..5294e1b5f85
--- /dev/null
+++ b/nt/inc/sys/ioctl.h
@@ -0,0 +1,5 @@
+/*
+ * sys\ioctl.h doesn't exist on NT...rather than including it conditionally
+ * in many of the source files, we just extend the include path so that the
+ * compiler will pick this up empty header instead.
+ */
diff --git a/nt/inc/sys/param.h b/nt/inc/sys/param.h
new file mode 100644
index 00000000000..b7f227405f4
--- /dev/null
+++ b/nt/inc/sys/param.h
@@ -0,0 +1,10 @@
+#ifndef _PARAM_H_
+#define _PARAM_H_
+
+/*
+ * sys\param.h doesn't exist on NT, so we'll make one.
+ */
+
+#define NBPG 4096
+
+#endif /* _PARAM_H_ */