diff options
author | 2024-05-02 23:30:21 +0200 | |
---|---|---|
committer | 2024-05-02 23:30:21 +0200 | |
commit | d6f62af847a72e941b62b307834e06423ec27d40 (patch) | |
tree | e1c21dda0e1976ba1c8f2fee94f3753a561170ba | |
parent | b9ccca687a0ba624fe0751713da0e1695994bc45 (diff) | |
download | slock-d6f62af847a72e941b62b307834e06423ec27d40.tar.gz slock-d6f62af847a72e941b62b307834e06423ec27d40.zip |
Make config.mk portable on FreeBSD
-rw-r--r-- | config.mk | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 = |