FreeBSD compilation fixes

Closes #2517.
This commit is contained in:
brett-rickman 2024-08-25 15:59:27 +00:00 committed by Andrew Gaul
parent 0c26014812
commit 473f9df65a
2 changed files with 2 additions and 1 deletions

View File

@ -29,6 +29,7 @@
#include <unistd.h>
#include <dirent.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <getopt.h>
#include "common.h"

View File

@ -26,7 +26,7 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#ifndef __APPLE__
#if !defined(__APPLE__) && !defined(__FreeBSD__)
#include <sys/sysmacros.h>
#endif