summaryrefslogtreecommitdiff
path: root/hald/create_cache.c
diff options
context:
space:
mode:
authorAndrew Stormont <andyjstormont@googlemail.com>2011-06-13 22:27:38 +0100
committerAndrew Stormont <andyjstormont@googlemail.com>2011-06-13 22:27:38 +0100
commitb404105b6f44ed2180fae8c172b15fd1787b72a9 (patch)
tree8ffea7d15342a083503e4f1bca4463337714d1d5 /hald/create_cache.c
parentecb86f4d5b6d0354d8fac639755464c6c3706e6d (diff)
downloadhal-master.tar.gz
Fix warnings when building on SolarisHEADmaster
Diffstat (limited to 'hald/create_cache.c')
-rw-r--r--hald/create_cache.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/hald/create_cache.c b/hald/create_cache.c
index 246e9586..bc87d89a 100644
--- a/hald/create_cache.c
+++ b/hald/create_cache.c
@@ -8,6 +8,7 @@
* Copyright (C) 2006 Richard Hughes <richard@hughsie.com>
* Copyright (C) 2007 Mikhail Kshevetskiy <mikhail.kshevetskiy@gmail.com>
* Copyright (C) 2007 Sergey Lapin <slapinid@gmail.com>
+ * Copyright (C) 2011 Andrew Stormont <andyjstormont@gmail.com>
*
* Licensed under the Academic Free License version 2.1
*
@@ -27,6 +28,9 @@
*
**************************************************************************/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
#include <sys/types.h>
#include <sys/stat.h>
@@ -42,7 +46,6 @@
#include <syslog.h>
#include <expat.h>
#include <glib.h>
-#include <config.h>
#include "logger.h"
#include "rule.h"