diff --git a/utils/extconf.c b/utils/extconf.c
index 43cf2652a9af4d920221634543162999b1bf7cfb..c62001a7768445cc945896f5f57fc1013058f3c1 100644
--- a/utils/extconf.c
+++ b/utils/extconf.c
@@ -168,6 +168,7 @@ void ast_console_puts(const char *string);
 #define LOG_DTMF    __LOG_DTMF, _A_
 
 /* lock.h */
+#define _ASTERISK_LOCK_H /* A small indication that this is horribly wrong. */
 
 #ifndef	HAVE_MTX_PROFILE
 #define	__MTX_PROF(a)	return pthread_mutex_lock((a))