diff --git a/include/ldap_cdefs.h b/include/ldap_cdefs.h
index 96579288df7e17ab392a82c8b3f74b2d652e48c3..43a069a32f3175466ecca145a5d1570190aa4a7e 100644
--- a/include/ldap_cdefs.h
+++ b/include/ldap_cdefs.h
@@ -7,8 +7,8 @@
 #	define LDAP_BEGIN_DECL	extern "C" {
 #	define LDAP_END_DECL	}
 #else
-#	define LDAP_BEGIN_DECL	/* empty */
-#	define LDAP_END_DECL	/* empty */
+#	define LDAP_BEGIN_DECL	/* begin declarations */
+#	define LDAP_END_DECL	/* end declarations */
 #endif
 
 #if !defined(__NO_PROTOTYPES) && ( \
diff --git a/include/ldap_log.h b/include/ldap_log.h
index 2959ed48e03440e7b99e244a44d591c200e77416..4e2956fa7c985667fa1a5e12d1f2cefda0f5ca03 100644
--- a/include/ldap_log.h
+++ b/include/ldap_log.h
@@ -30,6 +30,7 @@ LDAP_BEGIN_DECL
 #define LDAP_DEBUG_SHELL	0x0400
 #define LDAP_DEBUG_PARSE	0x0800
 
+#define LDAP_DEBUG_DEPRECIATED	0x1000
 #define LDAP_DEBUG_NONE		0x8000
 #define LDAP_DEBUG_ANY		-1