diff --git a/src/certtool-options.c b/src/certtool-options.c
index 8195c52..2e3930c 100644
--- a/src/certtool-options.c
+++ b/src/certtool-options.c
@@ -4,7 +4,6 @@
 
 #include "certtool-options.h"
 #include <errno.h>
-#include <getopt.h>
 #include <limits.h>
 #include <stdint.h>
 #include <stdio.h>
diff --git a/src/danetool-options.c b/src/danetool-options.c
index f5543ba..c26b5ff 100644
--- a/src/danetool-options.c
+++ b/src/danetool-options.c
@@ -4,7 +4,6 @@
 
 #include "danetool-options.h"
 #include <errno.h>
-#include <getopt.h>
 #include <limits.h>
 #include <stdint.h>
 #include <stdio.h>
diff --git a/src/gnutls-cli-debug-options.c b/src/gnutls-cli-debug-options.c
index 3d7b6d0..152689d 100644
--- a/src/gnutls-cli-debug-options.c
+++ b/src/gnutls-cli-debug-options.c
@@ -4,7 +4,6 @@
 
 #include "gnutls-cli-debug-options.h"
 #include <errno.h>
-#include <getopt.h>
 #include <limits.h>
 #include <stdint.h>
 #include <stdio.h>
diff --git a/src/gnutls-cli-options.c b/src/gnutls-cli-options.c
index 755e8a2..43ef7a9 100644
--- a/src/gnutls-cli-options.c
+++ b/src/gnutls-cli-options.c
@@ -4,7 +4,6 @@
 
 #include "gnutls-cli-options.h"
 #include <errno.h>
-#include <getopt.h>
 #include <limits.h>
 #include <stdint.h>
 #include <stdio.h>
diff --git a/src/gnutls-serv-options.c b/src/gnutls-serv-options.c
index a5045e8..d8a39c5 100644
--- a/src/gnutls-serv-options.c
+++ b/src/gnutls-serv-options.c
@@ -4,7 +4,6 @@
 
 #include "gnutls-serv-options.h"
 #include <errno.h>
-#include <getopt.h>
 #include <limits.h>
 #include <stdint.h>
 #include <stdio.h>
diff --git a/src/ocsptool-options.c b/src/ocsptool-options.c
index a4b48fd..7095385 100644
--- a/src/ocsptool-options.c
+++ b/src/ocsptool-options.c
@@ -4,7 +4,6 @@
 
 #include "ocsptool-options.h"
 #include <errno.h>
-#include <getopt.h>
 #include <limits.h>
 #include <stdint.h>
 #include <stdio.h>
diff --git a/src/p11tool-options.c b/src/p11tool-options.c
index 41d2a68..36a8b7a 100644
--- a/src/p11tool-options.c
+++ b/src/p11tool-options.c
@@ -4,7 +4,6 @@
 
 #include "p11tool-options.h"
 #include <errno.h>
-#include <getopt.h>
 #include <limits.h>
 #include <stdint.h>
 #include <stdio.h>
diff --git a/src/psktool-options.c b/src/psktool-options.c
index cb26ff0..f484b15 100644
--- a/src/psktool-options.c
+++ b/src/psktool-options.c
@@ -4,7 +4,6 @@
 
 #include "psktool-options.h"
 #include <errno.h>
-#include <getopt.h>
 #include <limits.h>
 #include <stdint.h>
 #include <stdio.h>
diff --git a/src/srptool-options.c b/src/srptool-options.c
index 73b6cef..19751b5 100644
--- a/src/srptool-options.c
+++ b/src/srptool-options.c
@@ -4,7 +4,6 @@
 
 #include "srptool-options.h"
 #include <errno.h>
-#include <getopt.h>
 #include <limits.h>
 #include <stdint.h>
 #include <stdio.h>
diff --git a/src/systemkey-tool-options.c b/src/systemkey-tool-options.c
index ca7f565..70d8e12 100644
--- a/src/systemkey-tool-options.c
+++ b/src/systemkey-tool-options.c
@@ -4,7 +4,6 @@
 
 #include "systemkey-tool-options.h"
 #include <errno.h>
-#include <getopt.h>
 #include <limits.h>
 #include <stdint.h>
 #include <stdio.h>
diff --git a/src/tpmtool-options.c b/src/tpmtool-options.c
index b07cde6..1c0d37a 100644
--- a/src/tpmtool-options.c
+++ b/src/tpmtool-options.c
@@ -4,7 +4,6 @@
 
 #include "tpmtool-options.h"
 #include <errno.h>
-#include <getopt.h>
 #include <limits.h>
 #include <stdint.h>
 #include <stdio.h>
