Skip to content

Commit

Permalink
Fix missing signal.h include
Browse files Browse the repository at this point in the history
macOS doesn't include this by default, so the signal functions
won't be found with -Wimplicit-function-declaration.
  • Loading branch information
NattyNarwhal authored and ffesti committed Jul 26, 2023
1 parent 2bdd7d7 commit f078753
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/rpmscript.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include <errno.h>
#include <fcntl.h>
#include <lua.h>
#include <signal.h>

#include <rpm/rpmfileutil.h>
#include <rpm/rpmmacro.h>
Expand Down

0 comments on commit f078753

Please sign in to comment.