1
0
mirror of https://github.com/Yubico/yubico-pam.git synced 2025-02-20 21:54:16 +01:00

Add missing headers

fcntl.h in pam_yubico.c is needed on OS X with clang for the build to
succeed, while unistd.h in util.c is required so clang doesn't complain
about implicit declarations of ftruncate and fsync.
This commit is contained in:
Clemens Lang 2012-01-28 00:30:34 +01:00
parent 126146d0e3
commit d2c14efdd4
2 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>

1
util.c
View File

@ -36,6 +36,7 @@
#include <string.h>
#include <sys/types.h>
#include <pwd.h>
#include <unistd.h>
#include "util.h"