[120135] trunk/base/src/pextlib1.0/flock.c
jmr at macports.org
jmr at macports.org
Fri May 16 16:10:01 PDT 2014
Revision: 120135
https://trac.macports.org/changeset/120135
Author: jmr at macports.org
Date: 2014-05-16 16:10:01 -0700 (Fri, 16 May 2014)
Log Message:
-----------
define _POSIX_SOURCE in flock.c so struct sigaction is available on linux
Modified Paths:
--------------
trunk/base/src/pextlib1.0/flock.c
Modified: trunk/base/src/pextlib1.0/flock.c
===================================================================
--- trunk/base/src/pextlib1.0/flock.c 2014-05-16 22:58:09 UTC (rev 120134)
+++ trunk/base/src/pextlib1.0/flock.c 2014-05-16 23:10:01 UTC (rev 120135)
@@ -40,6 +40,8 @@
#include <errno.h>
#include <inttypes.h>
+/* needed to get struct sigaction on some platforms */
+#define _POSIX_SOURCE
#include <signal.h>
#include <string.h>
#include <unistd.h>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140516/672bfa9b/attachment.html>
More information about the macports-changes
mailing list