--- scrot-scrot-0.8/src/getopt.c.orig	2010-05-15 23:25:41.000000000 +0000
+++ scrot-scrot-0.8/src/getopt.c	2018-10-17 15:55:47.506161400 +0000
@@ -40,6 +40,7 @@
 #endif
 
 #include <stdio.h>
+#include <string.h>
 
 /* Comment out all this code if we are using the GNU C Library, and are not
    actually compiling the library itself.  This code is part of the GNU C
