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 <sys/types.h>
|
||||||
#include <crypt.h>
|
#include <crypt.h>
|
||||||
#include <shadow.h>
|
#include <shadow.h>
|
||||||
|
|
||||||
|
/* Needed for putpwent */
|
||||||
|
#define _GNU_SOURCE
|
||||||
#include <pwd.h>
|
#include <pwd.h>
|
||||||
|
|
||||||
#ifndef SECS_PER_DAY
|
#ifndef SECS_PER_DAY
|
||||||
|
Loading…
Reference in New Issue
Block a user