SHA256
1
0
forked from pool/openscap
openscap/fix-missing-include.dif

25 lines
793 B
Plaintext

Index: openscap-1.2.6/src/OVAL/probes/unix/linux/rpminfo.c
===================================================================
--- openscap-1.2.6.orig/src/OVAL/probes/unix/linux/rpminfo.c
+++ openscap-1.2.6/src/OVAL/probes/unix/linux/rpminfo.c
@@ -66,6 +66,7 @@
#include <rpm/rpmmacro.h>
#include <rpm/rpmlog.h>
#include <rpm/header.h>
+#include <rpm/rpmfi.h>
#ifndef HAVE_HEADERFORMAT
# define HAVE_LIBRPM44 1 /* hack */
Index: openscap-1.2.6/src/common/oscap_acquire.c
===================================================================
--- openscap-1.2.6.orig/src/common/oscap_acquire.c
+++ openscap-1.2.6/src/common/oscap_acquire.c
@@ -36,6 +36,7 @@
#include <ftw.h>
#include "oscap_acquire.h"
+#include "oscap_buffer.h"
#include "common/_error.h"
#include "oscap_string.h"