--- mysql-5.1.48.orig/Makefile.in	2010-06-03 17:54:43.000000000 +0200
+++ mysql-5.1.48/Makefile.in	2010-07-13 12:29:09.025919648 +0200
@@ -1134,7 +1134,7 @@ abi_check_all:	$(TEST_PREPROCESSOR_HEADE
 do_abi_check:
 	set -ex; \
 	for file in $(abi_headers); do \
-	         @CC@ -E -nostdinc -dI \
+	         @CC@ -E -nostdinc -dI -DMYSQL_ABI_CHECK \
 	                  -I$(top_srcdir)/include \
 	                  -I$(top_srcdir)/include/mysql \
 	                  -I$(top_srcdir)/sql \
