diff --git a/lib/setup.h b/lib/setup.h
index 6770ec6c400cbbac284fcacdace87e9897c1f49b..083e89093647340214086a2709d58c2068010e0f 100644
--- a/lib/setup.h
+++ b/lib/setup.h
@@ -85,10 +85,10 @@ defined(HAVE_LIBSSL) && defined(HAVE_LIBCRYPTO)
 #endif
 
 #ifndef STDC_HEADERS /* no standard C headers! */
-#include "stdcheaders.h"
+#include "curl/stdcheaders.h"
 #else
 #ifdef _AIX
-#include "stdcheaders.h"
+#include "curl/stdcheaders.h"
 #endif
 #endif