[NM master] Fix for compile error



See attached patch.
>From 0a1703e85bd679980974b6c414910cc7128794a8 Mon Sep 17 00:00:00 2001
From: "Marius B. Kotsbak" <marius kotsbak com>
Date: Thu, 11 Oct 2012 16:57:49 +0200
Subject: [PATCH] Fix a compile error. ctype.h is required for using function
 isblank(...).

---
 src/settings/plugins/ifupdown/parser.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/settings/plugins/ifupdown/parser.c b/src/settings/plugins/ifupdown/parser.c
index 350a62c..d81fd84 100644
--- a/src/settings/plugins/ifupdown/parser.c
+++ b/src/settings/plugins/ifupdown/parser.c
@@ -36,6 +36,7 @@
 #include <nm-setting-8021x.h>
 #include <nm-system-config-interface.h>
 #include <nm-utils.h>
+#include <ctype.h>
 
 #include "parser.h"
 #include "plugin.h"
-- 
1.7.10.4



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