config.h inclusion conflict - Mailing list pgsql-bugs

From Jean Pierre LeJacq
Subject config.h inclusion conflict
Date
Msg-id m15TmoV-000kbzC@mail.quoininc.com
Whole thread Raw
List 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

pgsql-bugs by date:

Previous
From: Rich Morin
Date:
Subject: assorted documentation errors
Next
From: pgsql-bugs@postgresql.org
Date:
Subject: ecpg: unstable INSERT operation