fixed build with OpenBSD

This commit is contained in:
Vlad Glagolev 2016-10-22 16:38:45 -04:00
parent e9d3278fc5
commit b68381db58
2 changed files with 3 additions and 1 deletions

View file

@ -21,7 +21,7 @@ ifeq ($(UNAME),Darwin)
else
include Makefile.osx
endif
else ifeq ($(shell echo $(UNAME) | $(GREP) -c FreeBSD),1)
else ifeq ($(shell echo $(UNAME) | $(GREP) -Ec '(Free|Open)BSD'),1)
DAEMON_SRC += DaemonLinux.cpp
include Makefile.bsd
else ifeq ($(UNAME),Linux)