summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/b2m.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib-src/b2m.c b/lib-src/b2m.c
index 055b807509b..6a2fcff9a21 100644
--- a/lib-src/b2m.c
+++ b/lib-src/b2m.c
@@ -33,6 +33,10 @@
#undef static
#endif
+#ifdef STDC_HEADERS
+#include <stdlib.h>
+#endif
+
#undef TRUE
#define TRUE 1
#undef FALSE
@@ -88,6 +92,7 @@ struct option longopts[] =
extern int optind;
+int
main (argc, argv)
int argc;
char **argv;