define _GNU_SOURCE before including pwd.h for putpwent
This commit is contained in:
parent
b33509e946
commit
f28ec562b8
@ -35,6 +35,9 @@
|
||||
#include <sys/types.h>
|
||||
#include <crypt.h>
|
||||
#include <shadow.h>
|
||||
|
||||
/* Needed for putpwent */
|
||||
#define _GNU_SOURCE
|
||||
#include <pwd.h>
|
||||
|
||||
#ifndef SECS_PER_DAY
|
||||
|
Loading…
Reference in New Issue
Block a user