Skip to content

Commit

Permalink
Add missing header files
Browse files Browse the repository at this point in the history
They are generating warnings.
  • Loading branch information
petere authored and ffesti committed Feb 11, 2016
1 parent 92ed1c4 commit 159351d
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions build/parsePrep.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include "system.h"

#include <errno.h>
#include <libgen.h>

#include <rpm/header.h>
#include <rpm/rpmlog.h>
Expand Down
1 change: 1 addition & 0 deletions build/rpmfc.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include "system.h"

#include <errno.h>
#include <libgen.h>
#include <sys/select.h>
#include <sys/wait.h>
#include <signal.h>
Expand Down
1 change: 1 addition & 0 deletions lib/backend/db3.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ static int _debug = 1; /* XXX if < 0 debugging, > 0 unusual error returns */
#include <sys/wait.h>
#include <popt.h>
#include <db.h>
#include <signal.h>

#include <rpm/rpmtypes.h>
#include <rpm/rpmmacro.h>
Expand Down
1 change: 1 addition & 0 deletions lib/transaction.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include "system.h"

#include <inttypes.h>
#include <libgen.h>

#include <rpm/rpmlib.h> /* rpmMachineScore, rpmReadPackageFile */
#include <rpm/rpmmacro.h> /* XXX for rpmExpand */
Expand Down
2 changes: 2 additions & 0 deletions misc/fnmatch.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
Boston, MA 02111-1307, USA. */

# include "system.h"
# include <ctype.h>
# include <stdlib.h>
# include <string.h>

/* Find the first occurrence of C in S or the final NUL byte. */
static inline char *
Expand Down

0 comments on commit 159351d

Please sign in to comment.