* lib/selinux.c: vasprintf requires _GNU_SOURCE to be defined

before including stdio.h.
This commit is contained in:
nekral-guest 2011-11-19 21:55:00 +00:00
parent 82d767d121
commit 05823ad867
2 changed files with 3 additions and 0 deletions

View File

@ -12,6 +12,8 @@
parameter.
* src/userdel.c: Last audit_logger parameter is a
shadow_audit_result, use SHADOW_AUDIT_FAILURE instead of 0.
* lib/selinux.c: vasprintf requires _GNU_SOURCE to be defined
before including stdio.h.
2011-11-19 Nicolas François <nicolas.francois@centraliens.net>

View File

@ -34,6 +34,7 @@
#include "defines.h"
#define _GNU_SOURCE
#include <stdio.h>
#include <stdarg.h>
#include <selinux/selinux.h>