diff --git a/src/backend/lib/dllist.c b/src/backend/lib/dllist.c
index 3ca7cf03c74ac245173c0ccbaa52ea570c6d45f9..1c261cee21e7cb4deb4b69e6fcaaf0d55bc291a9 100644
--- a/src/backend/lib/dllist.c
+++ b/src/backend/lib/dllist.c
@@ -9,15 +9,24 @@
  *
  *
  * IDENTIFICATION
- *	  $Header: /cvsroot/pgsql/src/backend/lib/dllist.c,v 1.13 1999/05/31 23:48:03 tgl Exp $
+ *	  $Header: /cvsroot/pgsql/src/backend/lib/dllist.c,v 1.14 1999/06/03 01:28:24 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
 
 #include <postgres.h>
-
 #include <lib/dllist.h>
 
+/* When this file is compiled for inclusion in libpq,
+ * it can't use assert checking.  Probably this fix ought to be
+ * in c.h or somewhere like that...
+ */
+#ifdef FRONTEND
+#undef Assert
+#define Assert(condition)
+#endif
+
+
 Dllist *
 DLNewList(void)
 {