Skip to content

Commit 50fe6dd

Browse files
kamalmostafagregkh
authored andcommitted
tools/hv: Use include/uapi with __EXPORTED_HEADERS__
Use the local uapi headers to keep in sync with "recently" added #define's (e.g. VSS_OP_REGISTER1). Fixes: 3eb2094 ("Adding makefile for tools/hv") Cc: <[email protected]> Signed-off-by: Kamal Mostafa <[email protected]> Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 7047f17 commit 50fe6dd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/hv/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ PTHREAD_LIBS = -lpthread
55
WARNINGS = -Wall -Wextra
66
CFLAGS = $(WARNINGS) -g $(PTHREAD_LIBS) $(shell getconf LFS_CFLAGS)
77

8+
CFLAGS += -D__EXPORTED_HEADERS__ -I../../include/uapi -I../../include
9+
810
all: hv_kvp_daemon hv_vss_daemon hv_fcopy_daemon
911
%: %.c
1012
$(CC) $(CFLAGS) -o $@ $^

0 commit comments

Comments
 (0)