aboutsummaryrefslogtreecommitdiff
path: root/src/templating/test6/test-custom-write.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/templating/test6/test-custom-write.c')
-rw-r--r--src/templating/test6/test-custom-write.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/templating/test6/test-custom-write.c b/src/templating/test6/test-custom-write.c
index 4ba953a85..20042c1ed 100644
--- a/src/templating/test6/test-custom-write.c
+++ b/src/templating/test6/test-custom-write.c
@@ -16,7 +16,9 @@
limitations under the License.
*/
+#ifndef _GNU_SOURCE
#define _GNU_SOURCE
+#endif
#include <stdlib.h>
#include <stdio.h>