--- lib/getopt.c.orig	2020-12-23 23:39:20.000000000 +0900
+++ lib/getopt.c	2020-12-23 23:38:31.000000000 +0900
@@ -38,6 +38,8 @@
 #endif
 #endif
 
+#include <unistd.h>
+#include <string.h>
 #include <stdio.h>
 
 /* Comment out all this code if we are using the GNU C Library, and are not
