summaryrefslogtreecommitdiff
path: root/src/sysdeps/tryfutimens.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2016-04-27 17:32:40 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2016-04-27 17:32:40 +0000
commit00e0cad87182eebc8af16172c1dedb10761ffded (patch)
tree70c4b3f350338e38cc9de5354641957177d9b49a /src/sysdeps/tryfutimens.c
parentda7c00aac2f5abc8223cf6be143baf7a8ec3960a (diff)
downloadskalibs-00e0cad87182eebc8af16172c1dedb10761ffded.tar.xz
Fix tryfutimens.c header inclusion. The test should be good now...
Diffstat (limited to 'src/sysdeps/tryfutimens.c')
-rw-r--r--src/sysdeps/tryfutimens.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sysdeps/tryfutimens.c b/src/sysdeps/tryfutimens.c
index 0c4b2af..222fea5 100644
--- a/src/sysdeps/tryfutimens.c
+++ b/src/sysdeps/tryfutimens.c
@@ -6,6 +6,10 @@
#define __EXTENSIONS__
#endif
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <time.h>
+
int main (void)
{
struct timespec foo[2] = { { .tv_sec = 0, .tv_nsec = 0 }, { .tv_sec = 0, .tv_nsec = 0 } } ;