diff --git a/src/include/config.h.in b/src/include/config.h.in
index 44752346b517a1a8ad7350afeac08f6c92215b50..7b1e44d159c46fc269f1d707216fe8177d35b885 100644
--- a/src/include/config.h.in
+++ b/src/include/config.h.in
@@ -223,7 +223,8 @@ extern void srandom(int seed);
 #undef HAVE_LONG_INT_64
 
 /* Set to 1 if type "long long int" works and is 64 bits */
-#undef HAVE_LONG_LONG_INT_64
+#undef HAVE_LONG_LONG_INT_64_Ld
+#undef HAVE_LONG_LONG_INT_64_qd
 
 /*
  * Code below this point should not require changes