|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen staging] xenstore: Fix all builds
commit 3b6c0a9f42525e8e50d5988d8c7fa47e56bc7d1d
Author: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
AuthorDate: Tue Feb 2 11:33:26 2021 +0100
Commit: Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Tue Feb 2 11:33:26 2021 +0100
xenstore: Fix all builds
This diff is easier viewed through `cat -A`
diff --git a/tools/xenstore/include/xenstore_state.h
b/tools/xenstore/include/xenstore_state.h$
index 1bd443f61a..f7e4da2b2c 100644$
--- a/tools/xenstore/include/xenstore_state.h$
+++ b/tools/xenstore/include/xenstore_state.h$
@@ -21,7 +21,7 @@$
#ifndef XENSTORE_STATE_H$
#define XENSTORE_STATE_H$
$
-#if defined(__FreeBSD__) ||M-BM- defined(__NetBSD__)$
+#if defined(__FreeBSD__) || defined(__NetBSD__)$
#include <sys/endian.h>$
#else$
#include <endian.h>$
A non-breaking space isn't a valid C preprocessor token.
Fixes: ffbb8aa282de ("xenstore: fix build on {Net/Free}BSD")
Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>
---
tools/xenstore/include/xenstore_state.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/xenstore/include/xenstore_state.h
b/tools/xenstore/include/xenstore_state.h
index 1bd443f61a..f7e4da2b2c 100644
--- a/tools/xenstore/include/xenstore_state.h
+++ b/tools/xenstore/include/xenstore_state.h
@@ -21,7 +21,7 @@
#ifndef XENSTORE_STATE_H
#define XENSTORE_STATE_H
-#if defined(__FreeBSD__) ||Â defined(__NetBSD__)
+#if defined(__FreeBSD__) || defined(__NetBSD__)
#include <sys/endian.h>
#else
#include <endian.h>
--
generated by git-patchbot for /home/xen/git/xen.git#staging
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |