summaryrefslogtreecommitdiff
path: root/tools/publish.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/publish.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/publish.c')
-rw-r--r--tools/publish.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/publish.c b/tools/publish.c
index 57060df..f7e7e77 100644
--- a/tools/publish.c
+++ b/tools/publish.c
@@ -30,7 +30,9 @@
* ***** END LICENSE BLOCK *****
*/
+#ifdef HAVE_CONFIG_H
#include "config.h"
+#endif
#include <stdio.h>
#include <stdlib.h>
@@ -77,7 +79,7 @@ int main(int argc, const char **argv)
{"body", 'b', POPT_ARG_STRING, &body, 0,
"specify the message body", "body"},
POPT_AUTOHELP
- { NULL, 0, 0, NULL, 0 }
+ { NULL, '\0', 0, NULL, 0, NULL, NULL }
};
process_all_options(argc, argv, options);