summaryrefslogtreecommitdiffstats
path: root/contrib/amd/include
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1998-11-14 03:11:37 +0000
committerobrien <obrien@FreeBSD.org>1998-11-14 03:11:37 +0000
commitc6e3533e1e31cbf25e04688d244a8fc2af2e1972 (patch)
treea4eb3d7f17ca252572bc28a3ec00f1e8ebd00f5d /contrib/amd/include
parent663d5a0f32ed8dfc091ffb6153161591ac6ba563 (diff)
downloadFreeBSD-src-c6e3533e1e31cbf25e04688d244a8fc2af2e1972.zip
FreeBSD-src-c6e3533e1e31cbf25e04688d244a8fc2af2e1972.tar.gz
Virgin import of AMD (am-utils) v6.0b1
Diffstat (limited to 'contrib/amd/include')
-rw-r--r--contrib/amd/include/am_defs.h12
-rw-r--r--contrib/amd/include/am_utils.h1
2 files changed, 13 insertions, 0 deletions
diff --git a/contrib/amd/include/am_defs.h b/contrib/amd/include/am_defs.h
index 690d033..badb4ec 100644
--- a/contrib/amd/include/am_defs.h
+++ b/contrib/amd/include/am_defs.h
@@ -487,6 +487,18 @@ extern int errno;
/* conflicts with <statfsbuf.h> */
# define _SYS_STATFS_H
# endif /* HAVE_SOCKETBITS_H */
+# ifdef HAVE_LINUX_POSIX_TYPES_H
+# include <linux/posix_types.h>
+# endif /* HAVE_LINUX_POSIX_TYPES_H */
+# ifndef _LINUX_BYTEORDER_GENERIC_H
+# define _LINUX_BYTEORDER_GENERIC_H
+# endif /* _LINUX_BYTEORDER_GENERIC_H */
+/* conflicts with <sys/mount.h> in 2.1 kernels */
+# ifdef _SYS_MOUNT_H
+# ifdef BLOCK_SIZE
+# undef BLOCK_SIZE
+# endif /* BLOCK_SIZE */
+# endif /* _SYS_MOUNT_H */
# include <linux/fs.h>
#endif /* HAVE_LINUX_FS_H */
diff --git a/contrib/amd/include/am_utils.h b/contrib/amd/include/am_utils.h
index f4e0ccf..f088a4e 100644
--- a/contrib/amd/include/am_utils.h
+++ b/contrib/amd/include/am_utils.h
@@ -565,6 +565,7 @@ extern int make_nfs_auth(void);
extern int make_rpc_packet(char *, int, u_long, struct rpc_msg *, voidp, XDRPROC_T_TYPE, AUTH *);
extern int mapc_keyiter(mnt_map *, void(*)(char *, voidp), voidp);
extern int mapc_search(mnt_map *, char *, char **);
+extern int mapc_type_exists(const char *type);
extern int mkdirs(char *, int);
extern int mount_auto_node(char *, voidp);
extern int mount_automounter(int);
OpenPOWER on IntegriCloud