--- a/server/core/maxpasswd.c   2018-01-12 05:06:49.000000000 -0500
+++ b/server/core/maxpasswd.c   2018-01-12 06:50:18.518000000 -0500
@@ -25,6 +25,7 @@

 #include <maxscale/cdefs.h>

+#include <getopt.h>
 #include <stdio.h>
 #include <errno.h>
 #include <sys/stat.h>