mirror of
https://gitlab.freedesktop.org/libfprint/fprintd.git
synced 2026-05-05 06:28:00 +02:00
pam: Add include for asprintf to copy/paste header
This commit is contained in:
parent
986a42bcd1
commit
c6e72c5f28
3 changed files with 7 additions and 0 deletions
|
|
@ -20,6 +20,11 @@
|
|||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#ifndef _GNU_SOURCE
|
||||
#error _GNU_SOURCE must be defined
|
||||
#endif
|
||||
#include <stdio.h>
|
||||
|
||||
struct {
|
||||
const char *dbus_name;
|
||||
const char *place_str_generic;
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@
|
|||
|
||||
#include <config.h>
|
||||
|
||||
#define _GNU_SOURCE
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@
|
|||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#define _GNU_SOURCE
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <locale.h>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue