minix/include/utime.h
Tomas Hruby 0b8e20c89e Changes to the include files in order to make cross-compilation possible.
- The primary reason is that mkfs and installboot need to run natively during
  the cross compilation (host and target versions are compiled). There is a
  collision of include files though. E.g. a.out.h is very minix-specific.
  Therefore some files we moved and replaced by stubs that include the original
  file if compiling on or for Minix :
  
  include/a.out.h -> include/minix/a.out.h
  include/sys/dir.h -> include/minix/dir.h
  include/dirent.h -> include/minix/dirent.h
  include/sys/types.h -> include/minix/types.h

- This does not break any native compilation on Minix. Other headers that were
  including the original files are changed according to include directly the
  new, minix specific location not to pick up the host system includes while
  cross-compiling.

- role of this patch is to make rebasing of the build branch simpler until the
  new build system is merged
2009-11-06 08:46:22 +00:00

19 lines
380 B
C
Executable file

/* The <utime.h> header is used for the utime() system call. */
#ifndef _UTIME_H
#define _UTIME_H
#ifndef _TYPES_H
#include <minix/types.h>
#endif
struct utimbuf {
time_t actime; /* access time */
time_t modtime; /* modification time */
};
/* Function Prototypes. */
_PROTOTYPE( int utime, (const char *_path, const struct utimbuf *_times) );
#endif /* _UTIME_H */