fix compilation on OpenBSD
This commit is contained in:
parent
dfc253bebf
commit
94706763e5
5 changed files with 26 additions and 7 deletions
4
Makefile
4
Makefile
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue