summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-10-24 02:24:23 -0400
committerKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-10-24 02:24:23 -0400
commit5febc75c02efe70746168baa4469649bf0aad7da (patch)
tree8c146530be8f223abab5140ee09e72c68da8c4ca /template
parent445fda1b3984f3df7e6a724c406579e365c7b656 (diff)
downloaduserland-5febc75c02efe70746168baa4469649bf0aad7da.tar.gz
userland-5febc75c02efe70746168baa4469649bf0aad7da.tar.bz2
userland-5febc75c02efe70746168baa4469649bf0aad7da.tar.xz
userland-5febc75c02efe70746168baa4469649bf0aad7da.zip
fix some compile-via-gprbuild warningsHEADmaster
Diffstat (limited to 'template')
-rw-r--r--template/base.gpr3
1 files changed, 2 insertions, 1 deletions
diff --git a/template/base.gpr b/template/base.gpr
index 2516be4..896d51b 100644
--- a/template/base.gpr
+++ b/template/base.gpr
@@ -10,7 +10,8 @@ abstract project base is
"-std=c11",
"-Wall",
"-Wextra",
- "-Wpedantic") & CFLAGS;
+ "-Wpedantic",
+ "-D_POSIX_C_SOURCE=200809L") & CFLAGS;
end Compiler;
package Linker is