From 5112b48b37a1bf75f8964e1e91e2c41dcaede7b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Tue, 31 Oct 2000 17:04:11 +0100 Subject: [PATCH] Fallback to using <ocidfn.h> and <ociapr.h> if <oci.h> doesn't exist. Rev: src/modules/Oracle/oracle.c:1.47 --- src/modules/Oracle/oracle.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/modules/Oracle/oracle.c b/src/modules/Oracle/oracle.c index caa1a1f6f6..9ab3fd35e9 100644 --- a/src/modules/Oracle/oracle.c +++ b/src/modules/Oracle/oracle.c @@ -1,5 +1,5 @@ /* - * $Id: oracle.c,v 1.46 2000/10/01 08:52:11 hubbe Exp $ + * $Id: oracle.c,v 1.47 2000/10/31 16:04:11 grubba Exp $ * * Pike interface to Oracle databases. * @@ -44,10 +44,16 @@ /* VERY VERY UGLY */ #define MOTIF +#ifdef HAVE_OCI_H #include <oci.h> +#else /* !HAVE_OCI_H */ +#include <ocidfn.h> +#include <ociapr.h> +#endif /* HAVE_OCI_H */ + #include <math.h> -RCSID("$Id: oracle.c,v 1.46 2000/10/01 08:52:11 hubbe Exp $"); +RCSID("$Id: oracle.c,v 1.47 2000/10/31 16:04:11 grubba Exp $"); #define BLOB_FETCH_CHUNK 16384 -- GitLab