config.h inclusion conflict

From: Jean Pierre LeJacq <jplejacq(at)quoininc(dot)com>
To: <pgsql-bugs(at)postgresql(dot)org>
Subject: config.h inclusion conflict
Date: 2001-08-06 16:04:41
Message-ID: m15TmoV-000kbzC@mail.quoininc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Version:

7.1.2

Distribution:

debian postgresql_7.1.2-1 postgresql-dev_7.1.2-1

Bug:

The file c.h includes config.h using this line:

#include "config.h"

This produces a problem when compiling a file that uses several
libraries with files with the same name. I realize that C
compilers have different interpertations of where to search for
this inclusion.

A solution would be to disambiguate the file using:

#include <postgresql/config.h>

--
Jean Pierre

Browse pgsql-bugs by date

  From Date Subject
Next Message Trond Eivind =?iso-8859-1?q?Glomsr=F8d?= 2001-08-06 18:46:03 Re: HELP! BUG? pg_dump mucks up grant/revoke
Previous Message Peter Eisentraut 2001-08-06 13:49:03 Re: help for:FATAL 1: configuration file `postgresql.conf' has wrong permissions