]> git.pld-linux.org Git - packages/rpm.git/blame - rpm-header_h.patch
- ugly gcc hack not needed.
[packages/rpm.git] / rpm-header_h.patch
CommitLineData
d3d87244 1diff -Nur --exclude *~ rpm-4.0.2/lib/header.h rpm-4.0.2.new/lib/header.h
2--- rpm-4.0.2/lib/header.h Wed Feb 14 16:19:41 2001
3+++ rpm-4.0.2.new/lib/header.h Fri May 18 00:08:13 2001
4@@ -66,7 +66,7 @@
5 /* WARNING: 1 means success, 0 means failure (yes, this is backwards) */
6
7 #include <stdio.h>
8-#include <rpmio.h>
9+#include "rpmio.h"
10
11 #ifdef __cplusplus
12 extern "C" {
5b0f0ac9
MM
13@@ -702,7 +702,7 @@
14 {
15 if (data) {
16 /*@-branchstate@*/
17- if (type == -1 ||
18+ if ((int)type == -1 ||
19 type == RPM_STRING_ARRAY_TYPE ||
20 type == RPM_I18NSTRING_TYPE ||
21 type == RPM_BIN_TYPE)
22@@ -713,7 +713,7 @@
23 }
24
25 #if !defined(__HEADER_PROTOTYPES__)
26-#include <hdrinline.h>
27+#include "hdrinline.h"
28 #endif
29
30 #ifdef __cplusplus
This page took 0.046565 seconds and 4 git commands to generate.