Skip to content

Commit

Permalink
Merge pull request #125 from skylarmt/master
Browse files Browse the repository at this point in the history
Fix compile error on Buster
  • Loading branch information
ChristopheJacquet authored Jul 31, 2019
2 parents e4e246e + 6124345 commit 0b2d907
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/mailbox.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <sys/ioctl.h>
#include <sys/stat.h>

// Fixes compile error "mailbox.c:260: undefined reference to `makedev'"
#include <sys/sysmacros.h>

#include "mailbox.h"

#define PAGE_SIZE (4*1024)
Expand Down

0 comments on commit 0b2d907

Please sign in to comment.