Browse Source

Update all files for config.h

Brian Aker 13 years ago
parent
commit
f41d7929fb

+ 2 - 0
benchmark/benchmark.cc

@@ -11,6 +11,8 @@
  * @brief Common benchmark functions
  */
 
+#include <config.h>
+
 #include <benchmark/benchmark.h>
 #include <cstdio>
 

+ 0 - 2
benchmark/benchmark.h

@@ -13,8 +13,6 @@
 
 #pragma once
 
-#include <config.h>
-
 #include <libgearman/gearman.h>
 
 #ifdef TIME_WITH_SYS_TIME

+ 1 - 0
benchmark/blobslap_client.cc

@@ -11,6 +11,7 @@
  * @brief Blob slap client utility
  */
 
+#include <config.h>
 #include <benchmark/benchmark.h>
 
 #include <iostream>

+ 1 - 0
benchmark/blobslap_worker.cc

@@ -42,6 +42,7 @@
  * @brief Blob slap worker utility
  */
 
+#include <config.h>
 #include <benchmark/benchmark.h>
 #include <boost/program_options.hpp>
 #include <cerrno>

+ 2 - 1
libgearman-server/client.cc

@@ -11,8 +11,9 @@
  * @brief Server client definitions
  */
 
+#include <config.h>
 #include <libgearman-server/common.h>
-#include <assert.h>
+#include <cassert>
 
 /*
  * Public definitions

+ 0 - 2
libgearman-server/common.h

@@ -13,8 +13,6 @@
 
 #pragma once
 
-#include <config.h>
-
 #include <libgearman-server/gearmand.h>
 #include <libgearman-server/byteorder.h>
 

+ 1 - 0
libgearman-server/connection.c

@@ -11,6 +11,7 @@
  * @brief Server connection definitions
  */
 
+#include <config.h>
 #include <libgearman-server/common.h>
 #include <string.h>
 #include <errno.h>

+ 1 - 0
libgearman-server/fifo.c

@@ -35,6 +35,7 @@
  *
  */
 
+#include <config.h>
 #include <libgearman-server/common.h>
 
 #include <libgearman-server/gearmand.h>

+ 2 - 1
libgearman-server/function.cc

@@ -11,8 +11,9 @@
  * @brief Server function definitions
  */
 
+#include <config.h>
 #include <libgearman-server/common.h>
-#include <string.h>
+#include <cstring>
 
 #include <libgearman-server/list.h>
 

+ 2 - 1
libgearman-server/gearmand.cc

@@ -11,9 +11,10 @@
  * @brief Gearmand Definitions
  */
 
+#include <config.h>
 #include <libgearman-server/common.h>
 
-#include <errno.h>
+#include <cerrno>
 #include <netdb.h>
 #include <sys/socket.h>
 #include <sys/types.h>

Some files were not shown because too many files changed in this diff