summaryrefslogtreecommitdiff
path: root/system/polkit/fix-test-fgetpwent.patch
blob: 7bc6481cc8b294ba1e44c6b97ce13525dcd8a1ba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- polkit-0.105/test/mocklibc/src/pwd.c.old	2012-04-24 11:05:34.000000000 -0500
+++ polkit-0.105/test/mocklibc/src/pwd.c	2017-09-27 19:40:57.883227673 -0500
@@ -16,6 +16,7 @@
  * Author: Nikki VonHollen <vonhollen@gmail.com>
  */
 
+#define _GNU_SOURCE
 #include <pwd.h>
 
 #include <stdio.h>
--- polkit-0.105/test/mocklibc/src/grp.c.old	2012-04-24 11:05:34.000000000 -0500
+++ polkit-0.105/test/mocklibc/src/grp.c	2017-09-27 19:44:57.759238450 -0500
@@ -16,6 +16,7 @@
  * Author: Nikki VonHollen <vonhollen@gmail.com>
  */
 
+#define _GNU_SOURCE
 #include <grp.h>
 
 #include <stdio.h>