/* -*-C-*-
-$Id: prdb4.c,v 1.6 2007/01/05 21:19:25 cph Exp $
+$Id: prdb4.c,v 1.7 2007/02/11 05:55:00 riastradh Exp $
Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
#include "scheme.h"
#include "prims.h"
#include <errno.h>
-#include <db.h>
+
+#ifdef HAVE_DB_H
+# include <db.h>
+#endif
#define UNIFIED_VERSION \
((DB_VERSION_MAJOR * 0x10000) \
/* -*-C-*-
-$Id: prgdbm.c,v 1.9 2007/01/12 03:45:55 cph Exp $
+$Id: prgdbm.c,v 1.10 2007/02/11 05:55:00 riastradh Exp $
Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
#include "scheme.h"
#include "prims.h"
#include "os.h"
-#include <gdbm.h>
+
+#ifdef HAVE_GDBM_H
+# include <gdbm.h>
+#endif
\f
/* Allocation Tables */
/* -*-C-*-
-$Id: prpgsql.c,v 1.12 2007/01/12 03:45:55 cph Exp $
+$Id: prpgsql.c,v 1.13 2007/02/11 05:55:00 riastradh Exp $
Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
#include "usrdef.h"
#include "os.h"
-#include <libpq-fe.h>
+#ifdef HAVE_LIBPQ_FE_H
+# include <libpq-fe.h>
+#endif
\f
#define ARG_CONN(n) ((PGconn *) (arg_ulong_integer (n)))
#define ARG_RESULT(n) ((PGresult *) (arg_ulong_integer (n)))