summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2017-06-24 16:47:11 -0400
committeryenatch <yenatch@gmail.com>2017-06-24 16:47:11 -0400
commited99a86864535896d62ea1c5cdb49645754478f5 (patch)
tree0db1af9cbfc8b98b11687279bbac8518d1facebf
parent80f7477c3343517a96c6effcaf96f40c38f8f4d7 (diff)
Fix implicit getopt
-rw-r--r--tools/palette.c1
-rw-r--r--tools/pokemon_animation.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/tools/palette.c b/tools/palette.c
index c1beb40e4..39837a096 100644
--- a/tools/palette.c
+++ b/tools/palette.c
@@ -3,6 +3,7 @@
#include <stdint.h>
#include <stdlib.h>
#include <stdbool.h>
+#include <getopt.h>
void usage(void) {
printf("Usage: palette palfile\n");
diff --git a/tools/pokemon_animation.c b/tools/pokemon_animation.c
index 835160c24..0728788ec 100644
--- a/tools/pokemon_animation.c
+++ b/tools/pokemon_animation.c
@@ -4,6 +4,7 @@
#include <string.h>
#include <stdint.h>
#include <stdbool.h>
+#include <getopt.h>
struct Frame {
uint8_t* data;