summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/build.c1
-rw-r--r--build/files.c1
-rw-r--r--build/pack.c2
-rw-r--r--build/parsePrep.c2
-rw-r--r--build/parseSpec.c2
-rw-r--r--build/rpmfc.c1
6 files changed, 9 insertions, 0 deletions
diff --git a/build/build.c b/build/build.c
index ada633d76..c3295b945 100644
--- a/build/build.c
+++ b/build/build.c
@@ -5,6 +5,7 @@
#include "system.h"
+#include <errno.h>
#include <sys/wait.h>
#include <rpm/rpmbuild.h>
diff --git a/build/files.c b/build/files.c
index eeb4ffb3c..6fbeddcca 100644
--- a/build/files.c
+++ b/build/files.c
@@ -8,6 +8,7 @@
#define MYALLPERMS 07777
+#include <errno.h>
#include <regex.h>
#if WITH_CAP
#include <sys/capability.h>
diff --git a/build/pack.c b/build/pack.c
index f3b764cf1..1857257e4 100644
--- a/build/pack.c
+++ b/build/pack.c
@@ -5,6 +5,8 @@
#include "system.h"
+#include <errno.h>
+
#include <rpm/rpmlib.h> /* RPMSIGTAG*, rpmReadPackageFile */
#include <rpm/rpmts.h>
#include <rpm/rpmbuild.h>
diff --git a/build/parsePrep.c b/build/parsePrep.c
index 670ed709d..8e10c0060 100644
--- a/build/parsePrep.c
+++ b/build/parsePrep.c
@@ -5,6 +5,8 @@
#include "system.h"
+#include <errno.h>
+
#include <rpm/header.h>
#include <rpm/rpmbuild.h>
#include <rpm/rpmlog.h>
diff --git a/build/parseSpec.c b/build/parseSpec.c
index 816aa814d..06b5a3d3d 100644
--- a/build/parseSpec.c
+++ b/build/parseSpec.c
@@ -5,6 +5,8 @@
#include "system.h"
+#include <errno.h>
+
#include <rpm/rpmtypes.h>
#include <rpm/rpmlib.h> /* RPM_MACHTABLE & related */
#include <rpm/rpmbuild.h>
diff --git a/build/rpmfc.c b/build/rpmfc.c
index e92a6bdd7..0e8eba792 100644
--- a/build/rpmfc.c
+++ b/build/rpmfc.c
@@ -1,5 +1,6 @@
#include "system.h"
+#include <errno.h>
#include <sys/select.h>
#include <sys/wait.h>
#include <signal.h>