diff --git a/gobex/gobex-defs.c b/gobex/gobex-defs.c
index f1f3b38..beb773d 100644
--- a/gobex/gobex-defs.c
+++ b/gobex/gobex-defs.c
*
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <glib.h>
#include "gobex-defs.h"
diff --git a/gobex/gobex-header.c b/gobex/gobex-header.c
index 68e2341..0dade51 100644
--- a/gobex/gobex-header.c
+++ b/gobex/gobex-header.c
*
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <string.h>
#include "gobex-header.h"
diff --git a/gobex/gobex-packet.c b/gobex/gobex-packet.c
index e2914a4..df94031 100644
--- a/gobex/gobex-packet.c
+++ b/gobex/gobex-packet.c
*
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <string.h>
#include <errno.h>