diff options
author | Rob Landley <rob@landley.net> | 2007-12-28 03:29:33 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2007-12-28 03:29:33 -0600 |
commit | 07c78d338b1adf0c3d32c3670f21e9b066d740da (patch) | |
tree | a27378287b8f67d881014d2e6ca8cd92e0130e09 /toys.h | |
parent | 5a0660f513e008192860dc71988e561386c5ecdb (diff) | |
download | toybox-07c78d338b1adf0c3d32c3670f21e9b066d740da.tar.gz |
Make touch work reliably when file doesn't exist and clean up headers a bit.
Diffstat (limited to 'toys.h')
-rw-r--r-- | toys.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -31,8 +31,11 @@ #include <sys/statvfs.h> #include <sys/types.h> #include <sys/wait.h> -#include <time.h> #include <unistd.h> +#include <utime.h> + +#define _XOPEN_SOURCE 600 +#include <time.h> #include "lib/lib.h" #include "toys/e2fs.h" |