diff options
author | Miles Bader <miles@gnu.org> | 1995-07-20 16:45:45 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-07-20 16:45:45 +0000 |
commit | bcaf941c7d6abd7ee4b582062f5610365bf2d9e2 (patch) | |
tree | 9e1cb81d75422dc07153d6776457ded7d52a879e | |
parent | 194094fcfdadfaf5e7f40876e9b3fcc484144aa4 (diff) |
Protect against including twice, and add includes that we depend on.
-rw-r--r-- | libtrivfs/trivfs.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libtrivfs/trivfs.h b/libtrivfs/trivfs.h index 3bd1ee36..8beea672 100644 --- a/libtrivfs/trivfs.h +++ b/libtrivfs/trivfs.h @@ -15,6 +15,14 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#ifndef __TRIVFS_H__ +#define __TRIVFS_H__ + +#include <errno.h> +#include <cthreads.h> /* for mutexes &c */ +#include <sys/types.h> /* for uid_t &c */ +#include <mach/mach.h> +#include <hurd/ports.h> struct trivfs_protid { @@ -143,3 +151,5 @@ error_t trivfs_set_atime (struct trivfs_control *cntl); /* Call this to set mtime for the node to the current time. */ error_t trivfs_set_mtime (struct trivfs_control *cntl); + +#endif /* __TRIVFS_H__ */ |