summaryrefslogtreecommitdiff
path: root/usr.sbin/amd
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-08-22 00:36:00 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-08-22 00:36:00 +0000
commit32bb5c8b5aaa2322996d5499d65ed3d99ab6a3ca (patch)
tree67db7859c730d4d0df8be16cfe51458e739cb9fd /usr.sbin/amd
parent09f953a174464ba8c750219cfcf9ecdc344eba0d (diff)
__OpenBSD__
Diffstat (limited to 'usr.sbin/amd')
-rw-r--r--usr.sbin/amd/config/os-bsd44.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/amd/config/os-bsd44.h b/usr.sbin/amd/config/os-bsd44.h
index 21d4d3ef310..8763532e2ec 100644
--- a/usr.sbin/amd/config/os-bsd44.h
+++ b/usr.sbin/amd/config/os-bsd44.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: os-bsd44.h,v 1.4 1996/03/25 15:54:53 niklas Exp $ */
+/* $OpenBSD: os-bsd44.h,v 1.5 1996/08/22 00:34:28 deraadt Exp $ */
/*
* Copyright (c) 1990 Jan-Simon Pendry
@@ -70,7 +70,7 @@
/*
* 4.4 doesn't provide NIS, but NetBSD does.
*/
-#ifndef __NetBSD__
+#if !(defined(__NetBSD__) || defined(__OpenBSD__))
#undef HAS_NIS_MAPS
#endif
@@ -97,7 +97,7 @@
#undef MTAB_TYPE_UFS
#define MTAB_TYPE_UFS "ufs"
#define MTAB_TYPE_MFS "mfs"
-#ifdef __NetBSD__
+#if defined(__NetBSD__) || defined(__OpenBSD__)
#undef MTYPE_TYPE
#define MTYPE_TYPE char *
#endif
@@ -178,7 +178,7 @@ struct mntent {
* Type of a file handle
*/
#undef NFS_FH_TYPE
-#if __NetBSD__
+#if defined(__NetBSD__) || defined(__OpenBSD__)
#define NFS_FH_TYPE void *
#endif