getopt: Add missing includes
authorMartin Storsjö <martin@martin.st>
Thu, 16 Aug 2012 12:04:27 +0000 (15:04 +0300)
committerMartin Storsjö <martin@martin.st>
Thu, 16 Aug 2012 19:25:13 +0000 (22:25 +0300)
Signed-off-by: Martin Storsjö <martin@martin.st>
compat/getopt.c

index 3a873b2..c7f8ef3 100644 (file)
@@ -30,6 +30,9 @@
  * in the public domain.
  */
 
+#include <stdio.h>
+#include <string.h>
+
 #define EOF (-1)
 
 static int opterr = 1;