[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xen master] xenstore: Fix all builds

commit 42d50392bf49b3d9d2edb6378f903232dc238feb
Author:     Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
AuthorDate: Mon Feb 1 23:30:51 2021 +0000
Commit:     Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
CommitDate: Tue Feb 2 10:34:10 2021 +0000

    xenstore: Fix all builds
    This diff is easier viewed through `cat -A`
      diff --git a/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>$
       #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 
index 1bd443f61a..f7e4da2b2c 100644
--- a/tools/xenstore/include/xenstore_state.h
+++ b/tools/xenstore/include/xenstore_state.h
@@ -21,7 +21,7 @@
-#if defined(__FreeBSD__) || defined(__NetBSD__)
+#if defined(__FreeBSD__) || defined(__NetBSD__)
 #include <sys/endian.h>
 #include <endian.h>
generated by git-patchbot for /home/xen/git/xen.git#master



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.