Bug 4016 - rpmlib.h header incorrect
rpmlib.h header incorrect
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
Depends On:
  Show dependency treegraph
Reported: 1999-07-13 11:13 EDT by Cristian Gafton
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1999-07-15 10:30:09 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Cristian Gafton 1999-07-13 11:13:04 EDT
rpmlib does the includes:

#include "rpmio.h"
#include "dbindex.h"
#include "header.h"

When an app includes it as #include <rpm/rpmlib.h> this does
not work correctly.
Comment 1 Jeff Johnson 1999-07-13 11:22:59 EDT
Add -I/usr/include/rpm to compilation flags.
Comment 2 Cristian Gafton 1999-07-13 12:07:59 EDT
the perl XS modules create shadow files of the files included  by
rpmlib.h, so having it doing
#include "header.h"
   instead of
#include <header.h>
  is a major pain because the shadow files that should not be included
are actually included.
Comment 3 Jeff Johnson 1999-07-15 10:30:59 EDT
Fixed in cvs.

Note You need to log in before you can comment on or make changes to this bug.