Skip to content

Commit f74c136

Browse files
committed
common/Makefile: Add our own headers dir to the include path
We carry some copies of uapi headers in the headers/ dir, which were not included from the Makefile in common/. Fix that. Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
1 parent 77edd02 commit f74c136

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

common/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ all: common_params.o common_user_bpf_xdp.o common_libbpf.o
66
CFLAGS := -g -Wall
77

88
LIBBPF_DIR = ../libbpf/src/
9-
CFLAGS += -I$(LIBBPF_DIR)/root/usr/include/
9+
CFLAGS += -I$(LIBBPF_DIR)/root/usr/include/ -I../headers
1010
# TODO: Do we need to make libbpf from this make file too?
1111

1212
common_params.o: common_params.c common_params.h

0 commit comments

Comments
 (0)