Include Oracle header files after jagpublic.h, as in the example below:
#include <jagpublic.h> #include "oratypes.h" #include "ocidfn.h" #ifdef __STDC__ #include "ociapr.h" #else #include "ocikpr.h" #endif #include "ocidem.h"