]> xenbits.xensource.com Git - people/liuw/xtf.git/commitdiff
Fix Clang build following c/s 9f35dbe0
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 12 Aug 2016 12:32:01 +0000 (13:32 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 12 Aug 2016 12:32:05 +0000 (13:32 +0100)
Clang objects to macros altering the prototypes in string.c, and redefining
the __builtin_*() varients.  Reduce the include to just <xen/types.h>.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
common/libc/string.c

index 5e139f697e493d919e11e17b8b31b87f4ae6275d..96d0986aba7e057fb5b5236c1174a1f73e015fda 100644 (file)
@@ -1,4 +1,4 @@
-#include <xtf/libc.h>
+#include <xtf/types.h>
 
 size_t strlen(const char *str)
 {