aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-12-10 20:54:46 +0100
committerMattias Andrée <maandree@kth.se>2021-12-10 20:54:46 +0100
commit823808c2c1cdfa244a6af1491d57192b79af8818 (patch)
treeb79c5a43998ebf1e7fe6367b82d3a6ce81831162 /config.mk
parentrecv: fix types in check (diff)
downloadliberror-libc-823808c2c1cdfa244a6af1491d57192b79af8818.tar.gz
liberror-libc-823808c2c1cdfa244a6af1491d57192b79af8818.tar.bz2
liberror-libc-823808c2c1cdfa244a6af1491d57192b79af8818.tar.xz
Add lseek
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.mk b/config.mk
index 9171a69..c9a4302 100644
--- a/config.mk
+++ b/config.mk
@@ -1,6 +1,6 @@
PREFIX = /usr
MANPREFIX = $(PREFIX)/share/man
-CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700
+CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
CFLAGS = -std=c99 -Wall -pedantic
LDFLAGS = -s -lerror