libzypp 17.31.23
librpm.h
Go to the documentation of this file.
1/*---------------------------------------------------------------------\
2| ____ _ __ __ ___ |
3| |__ / \ / / . \ . \ |
4| / / \ V /| _/ _/ |
5| / /__ | | | | | | |
6| /_____||_| |_| |_| |
7| |
8\---------------------------------------------------------------------*/
12#ifndef ZYPP_TARGET_RPM_LIBRPM_H
13#define ZYPP_TARGET_RPM_LIBRPM_H
14
15#ifdef _RPM_5
16// needs to be outside 'extern "C"'
17#include <rpm/rpm4compat.h>
18#endif // _RPM_5
19
20extern "C"
21{
22#ifdef _RPM_5
23#include <rpm/rpmtag.h>
24#else
25#include <rpm/rpmlib.h>
26#endif // _RPM_5
27
28#include <rpm/rpmmacro.h>
29#include <rpm/rpmdb.h>
30#include <rpm/rpmts.h>
31#include <rpm/rpmfi.h>
32#include <fcntl.h>
33}
34
35#endif // ZYPP_TARGET_RPM_LIBRPM_H