configure produces config.h
[idzebra-moved-to-github.git] / index / mod_grs_sgml.c
index d9570e6..82d719d 100644 (file)
@@ -18,6 +18,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
 
 
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include <assert.h>
 #include <yaz/log.h>
 
@@ -123,7 +126,7 @@ static struct recType grs_type_sgml =
 };
 
 RecType
-#ifdef IDZEBRA_STATIC_GRS_SGML
+#if IDZEBRA_STATIC_GRS_SGML
 idzebra_filter_grs_sgml
 #else
 idzebra_filter