fix compilation on OpenBSD

This commit is contained in:
Jon Williams 2016-03-31 13:25:32 -04:00
parent dfc253bebf
commit 94706763e5
5 changed files with 26 additions and 7 deletions

View file

@ -31,6 +31,10 @@ CFLAGS+=-std=c11
COMPAT+=compat/clock_gettime/clock_gettime.o compat/clock_nanosleep/clock_nanosleep.o
endif
ifeq ($(UNAME), OpenBSD)
COMPAT+= compat/clock_nanosleep/clock_nanosleep.o
endif
all: dump1090 view1090
%.o: %.c *.h