avoid including regex.h from a public header file
authorDavid Zeuthen <davidz@redhat.com>
Sun, 21 Oct 2007 03:53:16 +0000 (23:53 -0400)
committerDavid Zeuthen <davidz@redhat.com>
Sun, 21 Oct 2007 03:53:16 +0000 (23:53 -0400)
polkit/polkit-config.c
polkit/polkit-config.h

index ce404ba..ff3c15e 100644 (file)
@@ -38,6 +38,7 @@
 #include <sys/inotify.h>
 #include <regex.h>
 #include <syslog.h>
+#include <regex.h>
 
 #include <expat.h>
 
index aed5655..a5307a4 100644 (file)
@@ -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>