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

[UNIKRAFT PATCH] include: Include string.h in uk/bitmap.h

From: Stefan Teodorescu <stefanl.teodorescu@xxxxxxxxx>

The string.h header was not included in uk/bitmap.h and was generating
compiler warnings for implicit declaration of memset.

Signed-off-by: Stefan Teodorescu <stefanl.teodorescu@xxxxxxxxx>
 include/uk/bitmap.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/uk/bitmap.h b/include/uk/bitmap.h
index d6e360ab..f635b7f8 100644
--- a/include/uk/bitmap.h
+++ b/include/uk/bitmap.h
@@ -30,6 +30,7 @@
 #ifndef _LINUX_BITMAP_H_
 #define        _LINUX_BITMAP_H_

+#include <string.h>
 #include <uk/bitops.h>

 static inline void



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