Browse Source

[trac569] Move coroutine.h to ext/

and removed empty top level file
Jelte Jansen 14 years ago
parent
commit
5e35787731

+ 3 - 0
configure.ac

@@ -573,6 +573,9 @@ AC_SUBST(MULTITHREADING_FLAG)
 #
 CPPFLAGS="$CPPFLAGS -I\$(top_srcdir)/ext/asio"
 #
+# Use our 'coroutine' header from ext
+CPPFLAGS="$CPPFLAGS -I\$(top_srcdir)/ext/coroutine"
+#
 # Disable threads: Currently we don't use them.
 CPPFLAGS="$CPPFLAGS -DASIO_DISABLE_THREADS=1"
 #

+ 0 - 0
dns_answer.h


src/lib/asiolink/coroutine.h → ext/coroutine/coroutine.h


+ 1 - 1
src/lib/asiolink/dns_service.cc

@@ -19,7 +19,7 @@
 #include <asio/ip/address.hpp>
 
 #include <asio.hpp>
-#include <tcp_server.h>
+#include <asiolink/tcp_server.h>
 #include <asiolink/udp_server.h>
 
 #include <log/dummylog.h>

+ 2 - 0
src/lib/asiolink/simple_callback.h

@@ -15,6 +15,8 @@
 #ifndef __ASIOLINK_SIMPLE_CALLBACK_H
 #define __ASIOLINK_SIMPLE_CALLBACK_H 1
 
+#include <asiolink/io_message.h>
+
 namespace asiolink {
 
 /// \brief The \c SimpleCallback class is an abstract base class for a

+ 1 - 1
src/lib/asiolink/tcp_server.h

@@ -23,7 +23,7 @@
 #include <boost/shared_ptr.hpp>
 
 #include <asiolink/asiolink.h>
-#include <asiolink/coroutine.h>
+#include <coroutine.h>
 
 
 namespace asiolink {

+ 1 - 1
src/lib/asiolink/udp_query.cc

@@ -29,7 +29,7 @@
 
 #include <asiolink.h>
 
-#include <asiolink/coroutine.h>
+#include <coroutine.h>
 #include <asiolink/udp_endpoint.h>
 
 #include <asiolink/udp_query.h>

+ 1 - 1
src/lib/asiolink/udp_query.h

@@ -22,7 +22,7 @@
 #include <dns/buffer.h>
 
 #include <asiolink/io_address.h>
-#include <asiolink/coroutine.h>
+#include <coroutine.h>
 
 namespace asiolink {
 

+ 1 - 1
src/lib/asiolink/udp_server.h

@@ -24,7 +24,7 @@
 #include <asiolink/dns_lookup.h>
 #include <asiolink/dns_answer.h>
 
-#include <asiolink/coroutine.h>
+#include <coroutine.h>
 
 namespace asiolink {