Skip to content

Commit

Permalink
Correct OpenBSD include order to fix unknown type errors during compi…
Browse files Browse the repository at this point in the history
…lation (VirusTotal#1486)
  • Loading branch information
pwrdwnsys authored Jun 14, 2021
1 parent 8817f6c commit 26daee2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions libyara/proc/openbsd.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,12 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

#if defined(USE_OPENBSD_PROC)

#include <errno.h>
#include <sys/types.h>
#include <sys/ptrace.h>
#include <sys/sysctl.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <errno.h>

#include <yara/error.h>
#include <yara/mem.h>
#include <yara/proc.h>
Expand Down

0 comments on commit 26daee2

Please sign in to comment.