From 8bd997f2e0d977ddde56ea4debad83197355a2c9 Mon Sep 17 00:00:00 2001 From: jbj Date: Tue, 13 Jul 1999 21:37:57 +0000 Subject: Perl bindings need #include not #include "foo.h" CVS patchset: 3143 CVS date: 1999/07/13 21:37:57 --- lib/formats.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/formats.c') 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 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"); -- cgit v1.2.3