summaryrefslogtreecommitdiff
path: root/lib/formats.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1999-07-13 21:37:57 +0000
committerjbj <devnull@localhost>1999-07-13 21:37:57 +0000
commit8bd997f2e0d977ddde56ea4debad83197355a2c9 (patch)
treebff7739953a6a852bf857e08665c9d2d84aa3e7c /lib/formats.c
parent2f400a54b2194cc1caee95cb0a3da74f4bce1735 (diff)
downloadrpm-8bd997f2e0d977ddde56ea4debad83197355a2c9.tar.gz
rpm-8bd997f2e0d977ddde56ea4debad83197355a2c9.tar.bz2
rpm-8bd997f2e0d977ddde56ea4debad83197355a2c9.zip
Perl bindings need
#include <foo.h> not #include "foo.h" CVS patchset: 3143 CVS date: 1999/07/13 21:37:57
Diffstat (limited to 'lib/formats.c')
-rw-r--r--lib/formats.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/formats.c b/lib/formats.c
index 70789d2b7..fbf6b06c2 100644
--- a/lib/formats.c
+++ b/lib/formats.c
@@ -1,6 +1,6 @@
#include "system.h"
-#include "rpmlib.h"
+#include <rpmlib.h>
static char * permsFormat(int_32 type, const void * data,
char * formatPrefix, int padding, int element);
@@ -173,8 +173,10 @@ static char * depflagsFormat(int_32 type, const void * data,
strcat(buf, ">");
if (anint & RPMSENSE_EQUAL)
strcat(buf, "=");
+#if defined(RPMSENSE_SERIAL)
if (anint & RPMSENSE_SERIAL)
strcat(buf, "S");
+#endif /* RPMSENSE_SERIAL */
val = malloc(5 + padding);
strcat(formatPrefix, "s");