summaryrefslogtreecommitdiff
path: root/tools/publish.c
diff options
context:
space:
mode:
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);