diff --git a/dlls/winspool.drv/info.c b/dlls/winspool.drv/info.c
index 68ab5d7d4c59dc88ca782040be5f98ad278c090a..9bb891585140af17fac64780379fff51ef0a16cd 100644
--- a/dlls/winspool.drv/info.c
+++ b/dlls/winspool.drv/info.c
@@ -33,9 +33,7 @@
 #include <string.h>
 #include <ctype.h>
 #include <stddef.h>
-#ifdef HAVE_SYS_ERRNO_H
-#include <sys/errno.h>
-#endif
+#include <errno.h>
 #ifdef HAVE_SYS_WAIT_H
 #include <sys/wait.h>
 #endif