summaryrefslogtreecommitdiff
path: root/tools/consume.c
diff options
context:
space:
mode:
authorAlan Antonuk <alan.antonuk@gmail.com>2012-05-24 12:16:55 -0700
committerAlan Antonuk <alan.antonuk@gmail.com>2012-05-24 12:16:55 -0700
commit7a74c3574afb32ab31dc5f946afbf89f3022a36d (patch)
tree905ce64fbee48f720b553cda46cee272ea064b17 /tools/consume.c
parent50a298e6c0df1ef8f2ec19da5949adef392e5131 (diff)
parente567f9eb8918d35db4ebc78e9a512d3e838afe00 (diff)
downloadrabbitmq-c-github-ask-7a74c3574afb32ab31dc5f946afbf89f3022a36d.tar.gz
Merge pull request #16 from msteinert/autotools
Cleanup autoconf/automake build
Diffstat (limited to 'tools/consume.c')
-rw-r--r--tools/consume.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/consume.c b/tools/consume.c
index 83a5164..4f79889 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>
@@ -180,7 +182,7 @@ int main(int argc, const char **argv)
"stop consuming after this many messages are consumed",
"limit"},
POPT_AUTOHELP
- { NULL, 0, 0, NULL, 0 }
+ { NULL, '\0', 0, NULL, 0, NULL, NULL }
};
opts = process_options(argc, argv, options,