diff --git a/test/jdk/java/nio/file/attribute/BasicFileAttributeView/libCreationTimeHelper.c b/test/jdk/java/nio/file/attribute/BasicFileAttributeView/libCreationTimeHelper.c index 25b153f1a71db..2bc85ccd08282 100644 --- a/test/jdk/java/nio/file/attribute/BasicFileAttributeView/libCreationTimeHelper.c +++ b/test/jdk/java/nio/file/attribute/BasicFileAttributeView/libCreationTimeHelper.c @@ -41,9 +41,6 @@ #ifndef STATX_BTIME #define STATX_BTIME 0x00000800U #endif -#ifndef _GNU_SOURCE -#define _GNU_SOURCE -#endif #ifndef RTLD_DEFAULT #define RTLD_DEFAULT RTLD_LOCAL #endif