On Jun 15, 2007, at 10:32 AM, Ralf S. Engelschall wrote:
$ cvs diff -u -r1.3 -r1.4 strtolocale.c --- rpm/rpmio/strtolocale.c 15 Jun 2007 09:14:03 -0000 1.3 +++ rpm/rpmio/strtolocale.c 15 Jun 2007 14:32:19 -0000 1.4 @@ -8,9 +8,12 @@ #include <iconv.h> #endif #include "debug.h" +#include "rpmio.h"
Nothing wrong with the patch, but try to add all includes as #include "system.h" whatever you want/need #include "debug.h" Having debug.h always included last permits *ahem* final adjustment hackery, like overloading functions as defines, etc, etc. 73 de Jeff ______________________________________________________________________ RPM Package Manager http://rpm5.org Developer Communication List rpm-devel@rpm5.org