Subj : Re: c include problem To : comp.programming From : Willem Date : Thu Oct 06 2005 07:37 pm Uwe wrote: ) Hi, ) ) I've got a problem with the C programming language. I need to include two ) header files which define constants with identical name. ) This results in a compilation error: ) ) /home/merkosh/src/Smartspace/Development/Infrastructure/sources/sflib/sflib.h:73: ) error: `sf_error' redeclared as different kind of symbol ) /usr/include/sndfile.h:344: error: previous declaration of `sf_error' ) ) How do you handle this in C? You rename one of the constants. The one that's not in the system include file would be most appropriate. A simple search and replace should do the trick. SaSW, Willem -- Disclaimer: I am in no way responsible for any of the statements made in the above text. For all I know I might be drugged or something.. No I'm not paranoid. You all think I'm paranoid, don't you ! #EOT .