summaryrefslogtreecommitdiff
path: root/utils/touchy
diff options
context:
space:
mode:
Diffstat (limited to 'utils/touchy')
-rw-r--r--utils/touchy/ghc.mk5
-rw-r--r--utils/touchy/touchy.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/utils/touchy/ghc.mk b/utils/touchy/ghc.mk
new file mode 100644
index 0000000000..022783fd3e
--- /dev/null
+++ b/utils/touchy/ghc.mk
@@ -0,0 +1,5 @@
+utils/touchy_dist_C_SRCS = touchy.c
+utils/touchy_dist_PROG = $(GHC_TOUCHY_PGM)
+utils/touchy_dist_LIBEXEC = YES
+utils/touchy_dist_INSTALL = YES
+$(eval $(call build-prog,utils/touchy,dist,0))
diff --git a/utils/touchy/touchy.c b/utils/touchy/touchy.c
index 90fb31e93e..dc4dc8d83f 100644
--- a/utils/touchy/touchy.c
+++ b/utils/touchy/touchy.c
@@ -11,6 +11,7 @@
#include <sys/types.h>
#include <fcntl.h>
#include <errno.h>
+#include <utime.h>
int
main(int argc, char** argv)