define -D_XOPEN_SOURCE in config.mk
Remove from su.c and login.c
This commit is contained in:
parent
1b28deba3d
commit
8441c95a2f
@ -8,6 +8,6 @@ MANPREFIX = $(PREFIX)/share/man
|
||||
#CC = gcc
|
||||
#CC = musl-gcc
|
||||
LD = $(CC)
|
||||
CPPFLAGS = -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
|
||||
CPPFLAGS = -D_XOPEN_SOURCE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
|
||||
CFLAGS = -std=c99 -Wall -Wextra $(CPPFLAGS)
|
||||
LDFLAGS = -s -lcrypt # -static
|
||||
|
1
login.c
1
login.c
@ -1,5 +1,4 @@
|
||||
/* See LICENSE file for copyright and license details. */
|
||||
#define _XOPEN_SOURCE
|
||||
#include <errno.h>
|
||||
#include <grp.h>
|
||||
#include <pwd.h>
|
||||
|
Loading…
Reference in New Issue
Block a user