diff options
author | Kamal Mostafa <kamal@canonical.com> | 2016-01-27 22:29:33 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-07 21:34:12 -0800 |
commit | 50fe6dd10069e7c062e27f29606f6e91ea979399 (patch) | |
tree | f45f24f4dfd69a0e628805fd7eb33e6c92f05f27 /tools | |
parent | 7047f17d70fc0599563d30d0791692cb5fe42ae6 (diff) | |
download | op-kernel-dev-50fe6dd10069e7c062e27f29606f6e91ea979399.zip op-kernel-dev-50fe6dd10069e7c062e27f29606f6e91ea979399.tar.gz |
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: 3eb2094c59e8 ("Adding makefile for tools/hv")
Cc: <stable@vger.kernel.org>
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')
-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 a8ab795..a8c4644 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 $@ $^ |