aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Iezzi <aiezzi@alessandroiezzi.it>2024-05-02 23:30:21 +0200
committerAlessandro Iezzi <aiezzi@alessandroiezzi.it>2024-05-02 23:30:21 +0200
commitd6f62af847a72e941b62b307834e06423ec27d40 (patch)
treee1c21dda0e1976ba1c8f2fee94f3753a561170ba
parentb9ccca687a0ba624fe0751713da0e1695994bc45 (diff)
downloadslock-d6f62af847a72e941b62b307834e06423ec27d40.tar.gz
slock-d6f62af847a72e941b62b307834e06423ec27d40.zip
Make config.mk portable on FreeBSD
-rw-r--r--config.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.mk b/config.mk
index 8617178..1f5174a 100644
--- a/config.mk
+++ b/config.mk
@@ -24,6 +24,8 @@ COMPATSRC = explicit_bzero.c
#LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lXext -lXrandr
# On *BSD remove -DHAVE_SHADOW_H from CPPFLAGS
# On NetBSD add -D_NETBSD_SOURCE to CPPFLAGS
+# On FreeBSD add -D__BSD_VISIBLE to CPPFLAGS
#CPPFLAGS = -DVERSION=\"${VERSION}\" -D_BSD_SOURCE -D_NETBSD_SOURCE
+#CPPFLAGS = -DVERSION=\"${VERSION}\" -D_BSD_SOURCE -D__BSD_VISIBLE
# On OpenBSD set COMPATSRC to empty
#COMPATSRC =