bsdstubs: include errno.h
ci/woodpecker/pr/woodpecker Pipeline was successful Details

Needed for ENOMEM, and fixes the build on MacOS.
pull/242/head
Dylan Baker 2022-08-06 22:30:25 -07:00
parent d8d669f637
commit 7976daab9a
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <sys/types.h> #include <sys/types.h>
#include <string.h> #include <string.h>
#include <errno.h>
#include <libpkgconf/bsdstubs.h> #include <libpkgconf/bsdstubs.h>
#include <libpkgconf/config.h> #include <libpkgconf/config.h>