summaryrefslogtreecommitdiff
path: root/src/sysdeps/tryfutimes.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2016-04-27 16:56:42 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2016-04-27 16:56:42 +0000
commit07d4bba8f4db6e5acee28f83fd7f60fa04e58737 (patch)
tree2b9cfa631e5b29b52d609335a531b507d6f7f41d /src/sysdeps/tryfutimes.c
parent64ee50fa0e4357164273c5d8b34ccde10a69d0ef (diff)
downloadskalibs-07d4bba8f4db6e5acee28f83fd7f60fa04e58737.tar.xz
futimes() is not POSIX, so add some ftms
Diffstat (limited to 'src/sysdeps/tryfutimes.c')
-rw-r--r--src/sysdeps/tryfutimes.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sysdeps/tryfutimes.c b/src/sysdeps/tryfutimes.c
index a65ab5a..7e0370b 100644
--- a/src/sysdeps/tryfutimes.c
+++ b/src/sysdeps/tryfutimes.c
@@ -1,5 +1,9 @@
/* ISC license. */
+#ifndef _BSD_SOURCE
+#define _BSD_SOURCE
+#endif
+
#include <sys/types.h>
#include <sys/time.h>