diff --git a/lib/setup.h b/lib/setup.h
index dfe412b3ba030b7f0a76763714fcbd88d3652704..f95742460cab00eb126cf325759e890eb0f1ee61 100644
--- a/lib/setup.h
+++ b/lib/setup.h
@@ -136,11 +136,6 @@ defined(HAVE_LIBSSL) && defined(HAVE_LIBCRYPTO)
 #else
 #include <curl/stdcheaders.h>
 #endif
-
-#else
-#ifdef _AIX
-#include <curl/stdcheaders.h>
-#endif
 #endif
 
 #if defined(CURLDEBUG) && defined(HAVE_ASSERT_H)