[120139] trunk/base/src/pextlib1.0/flock.c
jmr at macports.org
jmr at macports.org
Fri May 16 16:31:48 PDT 2014
Revision: 120139
https://trac.macports.org/changeset/120139
Author: jmr at macports.org
Date: 2014-05-16 16:31:48 -0700 (Fri, 16 May 2014)
Log Message:
-----------
move _XOPEN_SOURCE definition earlier
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 23:29:04 UTC (rev 120138)
+++ trunk/base/src/pextlib1.0/flock.c 2014-05-16 23:31:48 UTC (rev 120139)
@@ -34,14 +34,15 @@
#include <config.h>
#endif
+/* needed to get struct sigaction on some platforms */
+#define _XOPEN_SOURCE 500L
+
#if HAVE_SYS_FILE_H
#include <sys/file.h>
#endif
#include <errno.h>
#include <inttypes.h>
-/* needed to get struct sigaction on some platforms */
-#define _XOPEN_SOURCE 500L
#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/88c51721/attachment.html>
More information about the macports-changes
mailing list