--- physlock-13/Makefile	2019-01-28 18:46:20.000000000 +0000
+++ physlock-13/Makefile	2019-04-18 07:17:28.779909174 +0000
@@ -7,9 +7,9 @@
 MANPREFIX = $(PREFIX)/share/man
 
 # enable user detection using libsystemd
-HAVE_SYSTEMD = 1
+HAVE_SYSTEMD = 0
 
-cflags = -Wall -pedantic $(CFLAGS)
+cflags = -D_GNU_SOURCE -Wall -pedantic $(CFLAGS)
 cppflags = -I. $(CPPFLAGS) -D_XOPEN_SOURCE=500
 
 lib_systemd_0 =