Skip to content

Commit 1cf1f37

Browse files
ptoscanosgallagher
authored andcommitted
Add missing includes
Explicitly include <sys/stat.h> for fchmod() and umask(). Right now it is included by <path_utils.h>, so make sure the headers are pulled in no matter what.
1 parent 44e16a5 commit 1cf1f37

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/io_utils.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
#include <path_utils.h>
3636
#include <string.h>
3737
#include <talloc.h>
38+
#include <sys/stat.h>
3839

3940
#include "include/io_utils.h"
4041
#include "include/key.h"

src/sscg.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
#include <openssl/evp.h>
4242
#include <openssl/ssl.h>
4343
#include <sys/param.h>
44+
#include <sys/stat.h>
4445

4546
#include "config.h"
4647
#include "include/sscg.h"

0 commit comments

Comments
 (0)