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

[libvirt] [PATCH] Add missing c-ctype.h to virfile.c



From: "Daniel P. Berrange" <berrange redhat com>

The virfile.c file uses c_isalpha on Win32 platforms, so must
include c-ctype.h

Signed-off-by: Daniel P. Berrange <berrange redhat com>
---
 src/util/virfile.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/util/virfile.c b/src/util/virfile.c
index eb88c83..4637919 100644
--- a/src/util/virfile.c
+++ b/src/util/virfile.c
@@ -59,6 +59,8 @@
 #include "virstoragefile.h"
 #include "virutil.h"
 
+#include "c-ctype.h"
+
 #define VIR_FROM_THIS VIR_FROM_NONE
 
 int virFileClose(int *fdptr, virFileCloseFlags flags)
-- 
1.8.1.4


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