BIND 10 trac1644, updated. 78c0ce22b39230347bc652f7903aac57d2b4c577 [trac1644] add system headers or reorder existing headers
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Feb 2 03:06:46 UTC 2012
The branch, trac1644 has been updated
via 78c0ce22b39230347bc652f7903aac57d2b4c577 (commit)
from ed110c7f595e6a761d9fdbebdcc552e39edbddb5 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 78c0ce22b39230347bc652f7903aac57d2b4c577
Author: Jeremy C. Reed <jreed at ISC.org>
Date: Wed Feb 1 21:06:10 2012 -0600
[trac1644] add system headers or reorder existing headers
needed for some systems that have system headers that don't include headers that
define what they need.
-----------------------------------------------------------------------
Summary of changes:
src/bin/auth/auth_srv.cc | 1 +
src/bin/resolver/resolver.cc | 1 +
src/lib/acl/ip_check.cc | 1 +
src/lib/asiodns/dns_service.cc | 2 +-
src/lib/asiodns/io_fetch.cc | 2 +-
src/lib/asiodns/tcp_server.cc | 2 +-
src/lib/asiodns/udp_server.cc | 2 +-
src/lib/asiolink/io_service.cc | 2 +-
src/lib/resolve/recursive_query.cc | 2 +-
src/lib/resolve/tests/recursive_query_unittest.cc | 1 +
src/lib/server_common/tests/client_unittest.cc | 1 +
src/lib/testutils/srv_test.cc | 1 +
12 files changed, 12 insertions(+), 6 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/bin/auth/auth_srv.cc b/src/bin/auth/auth_srv.cc
index f13b88c..5a68898 100644
--- a/src/bin/auth/auth_srv.cc
+++ b/src/bin/auth/auth_srv.cc
@@ -14,6 +14,7 @@
#include <config.h>
+#include <sys/types.h>
#include <netinet/in.h>
#include <algorithm>
diff --git a/src/bin/resolver/resolver.cc b/src/bin/resolver/resolver.cc
index 367c16c..948b364 100644
--- a/src/bin/resolver/resolver.cc
+++ b/src/bin/resolver/resolver.cc
@@ -15,6 +15,7 @@
#include <config.h>
#include <stdint.h>
+#include <sys/types.h>
#include <netinet/in.h>
#include <algorithm>
diff --git a/src/lib/acl/ip_check.cc b/src/lib/acl/ip_check.cc
index 76aacca..7192064 100644
--- a/src/lib/acl/ip_check.cc
+++ b/src/lib/acl/ip_check.cc
@@ -12,6 +12,7 @@
// OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
// PERFORMANCE OF THIS SOFTWARE.
+#include <sys/types.h>
#include <sys/socket.h>
#include <exceptions/exceptions.h>
diff --git a/src/lib/asiodns/dns_service.cc b/src/lib/asiodns/dns_service.cc
index 967ce15..727ebd5 100644
--- a/src/lib/asiodns/dns_service.cc
+++ b/src/lib/asiodns/dns_service.cc
@@ -14,9 +14,9 @@
#include <config.h>
+#include <unistd.h> // for some IPC/network system calls
#include <netinet/in.h>
#include <sys/socket.h>
-#include <unistd.h> // for some IPC/network system calls
#include <boost/lexical_cast.hpp>
diff --git a/src/lib/asiodns/io_fetch.cc b/src/lib/asiodns/io_fetch.cc
index b22d067..ce3c5d2 100644
--- a/src/lib/asiodns/io_fetch.cc
+++ b/src/lib/asiodns/io_fetch.cc
@@ -14,10 +14,10 @@
#include <config.h>
+#include <unistd.h> // for some IPC/network system calls
#include <netinet/in.h>
#include <stdint.h>
#include <sys/socket.h>
-#include <unistd.h> // for some IPC/network system calls
#include <boost/bind.hpp>
#include <boost/scoped_ptr.hpp>
diff --git a/src/lib/asiodns/tcp_server.cc b/src/lib/asiodns/tcp_server.cc
index d116bdb..3e97e14 100644
--- a/src/lib/asiodns/tcp_server.cc
+++ b/src/lib/asiodns/tcp_server.cc
@@ -14,9 +14,9 @@
#include <config.h>
+#include <unistd.h> // for some IPC/network system calls
#include <netinet/in.h>
#include <sys/socket.h>
-#include <unistd.h> // for some IPC/network system calls
#include <errno.h>
#include <boost/shared_array.hpp>
diff --git a/src/lib/asiodns/udp_server.cc b/src/lib/asiodns/udp_server.cc
index 820db4c..e4e7896 100644
--- a/src/lib/asiodns/udp_server.cc
+++ b/src/lib/asiodns/udp_server.cc
@@ -12,9 +12,9 @@
// OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
// PERFORMANCE OF THIS SOFTWARE.
+#include <unistd.h> // for some IPC/network system calls
#include <netinet/in.h>
#include <sys/socket.h>
-#include <unistd.h> // for some IPC/network system calls
#include <errno.h>
#include <boost/shared_array.hpp>
diff --git a/src/lib/asiolink/io_service.cc b/src/lib/asiolink/io_service.cc
index 76d5ee1..15fad0c 100644
--- a/src/lib/asiolink/io_service.cc
+++ b/src/lib/asiolink/io_service.cc
@@ -14,9 +14,9 @@
#include <config.h>
+#include <unistd.h> // for some IPC/network system calls
#include <netinet/in.h>
#include <sys/socket.h>
-#include <unistd.h> // for some IPC/network system calls
#include <asio.hpp>
#include <asiolink/io_service.h>
diff --git a/src/lib/resolve/recursive_query.cc b/src/lib/resolve/recursive_query.cc
index ea7d528..12b7c3b 100644
--- a/src/lib/resolve/recursive_query.cc
+++ b/src/lib/resolve/recursive_query.cc
@@ -14,8 +14,8 @@
#include <config.h>
-#include <netinet/in.h>
#include <stdlib.h>
+#include <netinet/in.h>
#include <sys/socket.h>
#include <unistd.h> // for some IPC/network system calls
#include <string>
diff --git a/src/lib/resolve/tests/recursive_query_unittest.cc b/src/lib/resolve/tests/recursive_query_unittest.cc
index 4e939fa..83ea052 100644
--- a/src/lib/resolve/tests/recursive_query_unittest.cc
+++ b/src/lib/resolve/tests/recursive_query_unittest.cc
@@ -14,6 +14,7 @@
#include <config.h>
+#include <sys/types.h>
#include <sys/socket.h>
#include <sys/time.h>
diff --git a/src/lib/server_common/tests/client_unittest.cc b/src/lib/server_common/tests/client_unittest.cc
index 287a926..c8db846 100644
--- a/src/lib/server_common/tests/client_unittest.cc
+++ b/src/lib/server_common/tests/client_unittest.cc
@@ -12,6 +12,7 @@
// OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
// PERFORMANCE OF THIS SOFTWARE.
+#include <sys/types.h>
#include <sys/socket.h>
#include <string.h>
diff --git a/src/lib/testutils/srv_test.cc b/src/lib/testutils/srv_test.cc
index dd3e425..881eb81 100644
--- a/src/lib/testutils/srv_test.cc
+++ b/src/lib/testutils/srv_test.cc
@@ -14,6 +14,7 @@
#include <config.h>
+#include <sys/types.h>
#include <netinet/in.h>
#include <dns/message.h>
More information about the bind10-changes
mailing list