summaryrefslogtreecommitdiff
path: root/examples/amqp_listen.c
diff options
context:
space:
mode:
authorDavid Wragg <david@rabbitmq.com>2010-10-21 17:49:04 +0100
committerDavid Wragg <david@rabbitmq.com>2010-10-21 17:49:04 +0100
commitc72bba9de479902e864e3a6802c934cf7fb45e39 (patch)
tree175f75a729d02b9f5c1b48c17951395cdd7f2531 /examples/amqp_listen.c
parent51345a3ded6ecd073921b7e83ec06bbd8988c345 (diff)
downloadrabbitmq-c-github-ask-c72bba9de479902e864e3a6802c934cf7fb45e39.tar.gz
Make the examples compile and work under Windows
Diffstat (limited to 'examples/amqp_listen.c')
-rw-r--r--examples/amqp_listen.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/examples/amqp_listen.c b/examples/amqp_listen.c
index 7fd5af2..86c4555 100644
--- a/examples/amqp_listen.c
+++ b/examples/amqp_listen.c
@@ -56,13 +56,9 @@
#include <amqp.h>
#include <amqp_framing.h>
-#include <unistd.h>
#include <assert.h>
-#include "example_utils.h"
-
-/* Private: compiled out in NDEBUG mode */
-extern void amqp_dump(void const *buffer, size_t len);
+#include "utils.h"
int main(int argc, char const * const *argv) {
char const *hostname;