RPM Package Manager, CVS Repository http://rpm5.org/cvs/ ____________________________________________________________________________
Server: rpm5.org Name: Jeff Johnson Root: /v/rpm/cvs Email: j...@rpm5.org Module: rpm Date: 06-Aug-2014 22:40:37 Branch: rpm-5_4 Handle: 2014080620403700 Modified files: (Branch: rpm-5_4) rpm/rpmio rpmpython.c Log: - python: fix: get rid of compiler warnings, python dares to be different. Summary: Revision Changes Path 2.16.2.7 +6 -5 rpm/rpmio/rpmpython.c ____________________________________________________________________________ patch -p0 <<'@@ .' Index: rpm/rpmio/rpmpython.c ============================================================================ $ cvs diff -u -r2.16.2.6 -r2.16.2.7 rpmpython.c --- rpm/rpmio/rpmpython.c 5 Jul 2013 16:52:58 -0000 2.16.2.6 +++ rpm/rpmio/rpmpython.c 6 Aug 2014 20:40:37 -0000 2.16.2.7 @@ -1,3 +1,9 @@ +#include "config.h" +#if defined(WITH_PYTHONEMBED) +#include <Python.h> +#include <cStringIO.h> +#endif + #include "system.h" #define _RPMIOB_INTERNAL /* XXX necessary? */ @@ -8,11 +14,6 @@ #define _RPMPYTHON_INTERNAL #include "rpmpython.h" -#if defined(WITH_PYTHONEMBED) -#include <Python.h> -#include <cStringIO.h> -#endif - #include "debug.h" /*@unchecked@*/ @@ . ______________________________________________________________________ RPM Package Manager http://rpm5.org CVS Sources Repository rpm-cvs@rpm5.org