From: ewt Date: Wed, 25 Sep 1996 19:13:59 +0000 (+0000) Subject: 1) conditionally include asm/byteorder.h X-Git-Tag: tznext/4.11.0.1.tizen20130304~10913 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e54b510c86a62c3ee5306c02fc0594a1f1ad9f89;p=tools%2Flibrpm-tizen.git 1) conditionally include asm/byteorder.h 2) include netinet/in.h CVS patchset: 1047 CVS date: 1996/09/25 19:13:59 --- diff --git a/lib/header.c b/lib/header.c index b0457e1..ba0f011 100644 --- a/lib/header.c +++ b/lib/header.c @@ -7,12 +7,16 @@ /* Data read from file descriptors is expected to be in */ /* network byte order and is converted on the fly to host order. */ +#ifdef HAVE_ASM_BYTEORDER_H +# include +#endif + #include -#include #include #include #include #include +#include #include "header.h" #include "rpmlib.h" /* necessary only for dumpHeader() */