aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/utimens_nofollow.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/utimens_nofollow.c b/tests/utimens_nofollow.c
index 02fcf58..1941c56 100644
--- a/tests/utimens_nofollow.c
+++ b/tests/utimens_nofollow.c
@@ -1,5 +1,8 @@
-#define _BSD_SOURCE /* For atoll and lutimes */
+/* For atoll and lutimes */
+#define _BSD_SOURCE
+/* The new non-deprecated version of _BSD_SOURCE */
+#define _DEFAULT_SOURCE
#include <config.h>
#include <stdlib.h>