diff options
author | Kamal Mostafa <kamal@canonical.com> | 2016-01-27 22:29:33 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-04-12 09:08:53 -0700 |
commit | d2a70d6055c5da54d3f45805a19c37a693acd07f (patch) | |
tree | d817730af6d4b8a4a58e946473b7acbd750dc044 /tools/hv/Makefile | |
parent | 1dac534145d0f84b3fcadf5b69d8de3ad147f471 (diff) | |
download | linux-stable-d2a70d6055c5da54d3f45805a19c37a693acd07f.tar.gz linux-stable-d2a70d6055c5da54d3f45805a19c37a693acd07f.tar.bz2 linux-stable-d2a70d6055c5da54d3f45805a19c37a693acd07f.zip |
tools/hv: Use include/uapi with __EXPORTED_HEADERS__
commit 50fe6dd10069e7c062e27f29606f6e91ea979399 upstream.
Use the local uapi headers to keep in sync with "recently" added #define's
(e.g. VSS_OP_REGISTER1).
Fixes: 3eb2094c59e8 ("Adding makefile for tools/hv")
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/hv/Makefile')
-rw-r--r-- | tools/hv/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/hv/Makefile b/tools/hv/Makefile index a8ab79556926..a8c4644022a6 100644 --- a/tools/hv/Makefile +++ b/tools/hv/Makefile @@ -5,6 +5,8 @@ PTHREAD_LIBS = -lpthread WARNINGS = -Wall -Wextra CFLAGS = $(WARNINGS) -g $(PTHREAD_LIBS) $(shell getconf LFS_CFLAGS) +CFLAGS += -D__EXPORTED_HEADERS__ -I../../include/uapi -I../../include + all: hv_kvp_daemon hv_vss_daemon hv_fcopy_daemon %: %.c $(CC) $(CFLAGS) -o $@ $^ |