From 07d4bba8f4db6e5acee28f83fd7f60fa04e58737 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 27 Apr 2016 16:56:42 +0000 Subject: futimes() is not POSIX, so add some ftms --- src/libstddjb/touch.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/libstddjb') diff --git a/src/libstddjb/touch.c b/src/libstddjb/touch.c index dfc3525..57e0d0d 100644 --- a/src/libstddjb/touch.c +++ b/src/libstddjb/touch.c @@ -1,12 +1,12 @@ /* ISC license. */ #include -#include #ifdef SKALIBS_HASFUTIMENS #include #include +#include int touch (char const *file) { @@ -20,7 +20,9 @@ int touch (char const *file) #else #ifdef SKALIBS_HASFUTIMES +#include #include +#include int touch (char const *file) { @@ -34,6 +36,7 @@ int touch (char const *file) #else #include +#include int touch (char const *file) { -- cgit v1.2.3