Commit 91ea3671 authored by deuce's avatar deuce
Browse files

We're including sys/capability.h, not linux/capability.h

Test for what you include.
parent f5dfca98
......@@ -52,7 +52,7 @@ ifdef DONT_BLAME_SYNCHRONET
endif
ifeq ($(os),linux)
ifeq ($(shell test -f /usr/include/linux/capability.h && echo "yes"),yes)
ifeq ($(shell test -f /usr/include/sys/capability.h && echo "yes"),yes)
CFLAGS += -DUSE_LINUX_CAPS
CON_LIBS += -lcap
endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment