PolicyKit: Branch 'master'
David Zeuthen
david at kemper.freedesktop.org
Sat Oct 20 20:53:41 PDT 2007
polkit/polkit-config.c | 1 +
polkit/polkit-config.h | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 45ed942fdb26590654c9e33beb4976953a7cc421
Author: David Zeuthen <davidz at redhat.com>
Date: Sat Oct 20 23:53:16 2007 -0400
avoid including regex.h from a public header file
diff --git a/polkit/polkit-config.c b/polkit/polkit-config.c
index ce404ba..ff3c15e 100644
--- a/polkit/polkit-config.c
+++ b/polkit/polkit-config.c
@@ -38,6 +38,7 @@
#include <sys/inotify.h>
#include <regex.h>
#include <syslog.h>
+#include <regex.h>
#include <expat.h>
diff --git a/polkit/polkit-config.h b/polkit/polkit-config.h
index aed5655..a5307a4 100644
--- a/polkit/polkit-config.h
+++ b/polkit/polkit-config.h
@@ -31,7 +31,6 @@
#define POLKIT_CONFIG_H
#include <sys/types.h>
-#include <regex.h>
#include <polkit/polkit-types.h>
#include <polkit/polkit-error.h>
#include <polkit/polkit-types.h>
More information about the hal-commit
mailing list