Ralf S. Engelschall wrote:
> On Wed, Dec 05, 2007, Anders F. Björklund wrote:
>
>> don't include rpmnss.h twice
>
> Ah, even better. Sorry, I totally overlooked the
> already existing <rpmnss.h>. Thanks!
The main difference is that you used the "public"
version of the header, while it needs the "private"...
Difference being the "#define _RPMNSS_INTERNAL" macro,
before including the header. (allowing private access)
This is an alternate approach to splitting the header
up into different files, e.g. foo.h and foo_internal.h
--anders
Received on Wed Dec 5 11:22:26 2007