diff --git a/alberta/src/0d/element_0d.c b/alberta/src/0d/element_0d.c
index 2c0b12004e83360f65585f7844b7ad7489fc086d..1abc3f8c4d7843967aa33106738695b00f05cb45 100644
--- a/alberta/src/0d/element_0d.c
+++ b/alberta/src/0d/element_0d.c
@@ -29,8 +29,11 @@
 /*                                                                          */
 /*--------------------------------------------------------------------------*/
 
-#include "alberta.h"
+#ifdef HAVE_CONFIG_H
+# include "config.h" /* probably a good idea to pull this one in here ... */
+#endif
 
+#include "alberta.h"
 
 /****************************************************************************/
 /* Some trivial 0d stuff.                                                   */
diff --git a/alberta/src/1d/element_1d.c b/alberta/src/1d/element_1d.c
index fdda073af3ebe79f98795aeb877efe2b556f62d7..14344f035684149ecd81941225a214b68ee4e3e1 100644
--- a/alberta/src/1d/element_1d.c
+++ b/alberta/src/1d/element_1d.c
@@ -36,6 +36,10 @@
 /*                                                                          */
 /*--------------------------------------------------------------------------*/
 
+#ifdef HAVE_CONFIG_H
+# include "config.h" /* probably a good idea to pull this one in here ... */
+#endif
+
 #include "alberta.h"
 
 /****************************************************************************/
diff --git a/alberta/src/2d/element_2d.c b/alberta/src/2d/element_2d.c
index ba203ba9be633c824e6ba64585ba1054d0ffdff2..a0279ea46e420369c199d79304bdbfae195b5f16 100644
--- a/alberta/src/2d/element_2d.c
+++ b/alberta/src/2d/element_2d.c
@@ -36,6 +36,10 @@
 /*                                                                          */
 /*--------------------------------------------------------------------------*/
 
+#ifdef HAVE_CONFIG_H
+# include "config.h" /* probably a good idea to pull this one in here ... */
+#endif
+
 #include "alberta.h"
 
 /*--------------------------------------------------------------------------*/
diff --git a/alberta/src/3d/element_3d.c b/alberta/src/3d/element_3d.c
index 8315984251c8c36f3e507d3523f47439cf44449f..bcf51be4dfba22b7d446d0cdd790d3baf9956138 100644
--- a/alberta/src/3d/element_3d.c
+++ b/alberta/src/3d/element_3d.c
@@ -36,6 +36,10 @@
 /*                                                                          */
 /*--------------------------------------------------------------------------*/
 
+#ifdef HAVE_CONFIG_H
+# include "config.h" /* probably a good idea to pull this one in here ... */
+#endif
+
 #include "alberta.h"
 
 #define MESH_DIM 3