title: ORACLE 10.2 Pro*C precompiler not reading header file
body: <p>I'm pre-compiling a C program containing Pro*C code with Oracle 10.2 and AIX 5.2</p>
  
  <p>The Oracle precompiler reads the <code>$ORACLE_HOME/precomp/admin/pcscfg.cfg file</code> which contains the definition of the sys_include variable (set to <code>/usr/include</code>).</p>
  
  <p>The Pro*C compiler complains that it doesn't know what the <code>size_t</code> type is and the Oracle header files that use the <code>size_t</code> type are reporting errors.</p>
  
  <p>Here's an example error being reported on the <code>sqlcpr.h</code> file:</p>
  
  <pre><code>extern void sqlglm( char*, size_t*, size_t* );
  ...........................1
  PCC-S-02201, Encountered the symbol "size_t" when expecting one of the following
  </code></pre>
  
  <p><code>size_t</code> is defined in the <code>stdio.h</code> header file in the <code>/usr/include</code> directory. I'm including the <code>stdio.h</code> header in my <code>example.pc</code> file before I include the <code>sqlcpr.h</code> header.</p>
  
  <p>I'm issuing the proc command as follows:</p>
  
  <pre><code>proc iname=example parse=full
  </code></pre>
  
  <p>Any ideas what I'm doing wrong?</p>