summaryrefslogtreecommitdiff
path: root/net-nds/ldapvi/files/ldapvi-1.7-posix-unlocked.patch
blob: 167a2ce95b2fe69552e5d1c30bbaba74c4d76c6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
https://bugs.gentoo.org/885885
--- a/parse.c
+++ b/parse.c
@@ -15,7 +15,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
-#define _XOPEN_SOURCE
+#define _XOPEN_SOURCE 700
 #include <unistd.h>
 #include <crypt.h>
 #include <stdio.h>
--- a/parseldif.c
+++ b/parseldif.c
@@ -15,7 +15,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
-#define _XOPEN_SOURCE
+#define _XOPEN_SOURCE 700
 #include <unistd.h>
 #include <stdio.h>
 #include "common.h"