shithub: pokecrystal

Download patch

ref: ed99a86864535896d62ea1c5cdb49645754478f5
parent: 80f7477c3343517a96c6effcaf96f40c38f8f4d7
author: yenatch <[email protected]>
date: Sat Jun 24 12:47:11 EDT 2017

Fix implicit getopt

--- 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");
--- 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;