summaryrefslogtreecommitdiff
path: root/parallel/ganglia-monitor-core/patches/patch-lib__update_pidfile.c
blob: 34613096664c1f46834e775d6c7cf458ed888bd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-lib__update_pidfile.c,v 1.1 2016/02/16 12:48:18 fhajny Exp $

Portability.

--- lib/update_pidfile.c.orig	2015-07-01 19:49:35.000000000 +0000
+++ lib/update_pidfile.c
@@ -1,7 +1,7 @@
 /**
  * @file update_pidfile.c Functions for standalone daemons
  */
-#define _XOPEN_SOURCE 500 /* for getpgid */
+#define _XOPEN_SOURCE 700 /* for getpgid */
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <stdio.h>