diff --git a/sysdeps/htl/flockfile.c b/sysdeps/htl/flockfile.c
index 7d475e6e29..956b8b4128 100644
--- a/sysdeps/htl/flockfile.c
+++ b/sysdeps/htl/flockfile.c
@@ -17,7 +17,7 @@
. */
#include
-#include
+#include
void
diff --git a/sysdeps/htl/ftrylockfile.c b/sysdeps/htl/ftrylockfile.c
index a467545647..a99cdedb0d 100644
--- a/sysdeps/htl/ftrylockfile.c
+++ b/sysdeps/htl/ftrylockfile.c
@@ -16,10 +16,8 @@
License along with the GNU C Library; if not, see
. */
-#include
-#include
#include
-#include
+#include
int
diff --git a/sysdeps/htl/funlockfile.c b/sysdeps/htl/funlockfile.c
index 70f6f2e773..0b59efaa35 100644
--- a/sysdeps/htl/funlockfile.c
+++ b/sysdeps/htl/funlockfile.c
@@ -16,9 +16,8 @@
License along with the GNU C Library; if not, see
. */
-#include
#include
-#include
+#include
void