summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/passdb/mysqlpass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/mysqlpass.c b/source3/passdb/mysqlpass.c
index 35c82651b7..75be8b638b 100644
--- a/source3/passdb/mysqlpass.c
+++ b/source3/passdb/mysqlpass.c
@@ -21,7 +21,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#if defined(HAVE_MYSQL_H) || defined(WITH_MYSQLSAM)
+#if defined(HAVE_MYSQL_H) && defined(WITH_MYSQLSAM)
#include "includes.h"