summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMichael Steinert <mike.steinert@gmail.com>2012-05-15 18:00:51 -0600
committerMichael Steinert <mike.steinert@gmail.com>2012-05-17 11:44:45 -0600
commitc4dbaf19e2fef30333948c52273d62334c817119 (patch)
tree0a3fcc285bea65e5fc5ea32b159ddcb3e66f3b6d /tools
parent02dce3750d29c5a7e682c6412e118dddc70c16f7 (diff)
downloadrabbitmq-c-github-ask-c4dbaf19e2fef30333948c52273d62334c817119.tar.gz
Add config.h header guards
Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/common.c2
-rw-r--r--tools/consume.c2
-rw-r--r--tools/declare_queue.c2
-rw-r--r--tools/delete_queue.c2
-rw-r--r--tools/get.c2
-rw-r--r--tools/publish.c2
-rw-r--r--tools/unix/process.c4
-rw-r--r--tools/windows/compat.c4
-rw-r--r--tools/windows/process.c4
9 files changed, 24 insertions, 0 deletions
diff --git a/tools/common.c b/tools/common.c
index 38df751..71ae07d 100644
--- a/tools/common.c
+++ b/tools/common.c
@@ -30,7 +30,9 @@
* ***** END LICENSE BLOCK *****
*/
+#ifndef HAVE_CONFIG_H
#include "config.h"
+#endif
#include <stdio.h>
#include <stdlib.h>
diff --git a/tools/consume.c b/tools/consume.c
index 83a5164..9c53606 100644
--- a/tools/consume.c
+++ b/tools/consume.c
@@ -30,7 +30,9 @@
* ***** END LICENSE BLOCK *****
*/
+#ifdef HAVE_CONFIG_H
#include "config.h"
+#endif
#include <stdio.h>
#include <stdlib.h>
diff --git a/tools/declare_queue.c b/tools/declare_queue.c
index d6bb9db..5c6a2bd 100644
--- a/tools/declare_queue.c
+++ b/tools/declare_queue.c
@@ -30,7 +30,9 @@
* ***** END LICENSE BLOCK *****
*/
+#ifdef HAVE_CONFIG_H
#include "config.h"
+#endif
#include <stdio.h>
#include <stdlib.h>
diff --git a/tools/delete_queue.c b/tools/delete_queue.c
index e596096..d9594e9 100644
--- a/tools/delete_queue.c
+++ b/tools/delete_queue.c
@@ -30,7 +30,9 @@
* ***** END LICENSE BLOCK *****
*/
+#ifdef HAVE_CONFIG_H
#include "config.h"
+#endif
#include <stdio.h>
#include <stdlib.h>
diff --git a/tools/get.c b/tools/get.c
index 57ebedb..b3e0e81 100644
--- a/tools/get.c
+++ b/tools/get.c
@@ -30,7 +30,9 @@
* ***** END LICENSE BLOCK *****
*/
+#ifdef HAVE_CONFIG_H
#include "config.h"
+#endif
#include <stdio.h>
diff --git a/tools/publish.c b/tools/publish.c
index 57060df..08ae18a 100644
--- a/tools/publish.c
+++ b/tools/publish.c
@@ -30,7 +30,9 @@
* ***** END LICENSE BLOCK *****
*/
+#ifdef HAVE_CONFIG_H
#include "config.h"
+#endif
#include <stdio.h>
#include <stdlib.h>
diff --git a/tools/unix/process.c b/tools/unix/process.c
index 1e0d1d6..624f016 100644
--- a/tools/unix/process.c
+++ b/tools/unix/process.c
@@ -30,6 +30,10 @@
* ***** END LICENSE BLOCK *****
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <unistd.h>
#include <errno.h>
#include <spawn.h>
diff --git a/tools/windows/compat.c b/tools/windows/compat.c
index acba42e..07afa9a 100644
--- a/tools/windows/compat.c
+++ b/tools/windows/compat.c
@@ -30,6 +30,10 @@
* ***** END LICENSE BLOCK *****
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
diff --git a/tools/windows/process.c b/tools/windows/process.c
index 26b9a70..8bc9337 100644
--- a/tools/windows/process.c
+++ b/tools/windows/process.c
@@ -30,6 +30,10 @@
* ***** END LICENSE BLOCK *****
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <io.h>
#include <windows.h>