changeset 35905:0989cbea18b4

Add _BSD_SOURCE #define for getpagesize().
author diego
date Sun, 17 Mar 2013 22:47:35 +0000
parents cef5275fc11f
children 2228001384a5
files loader/ldt_keeper.c loader/pe_image.c loader/win32.c vidix/sh_veu_vid.c
diffstat 4 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/loader/ldt_keeper.c	Sun Mar 17 22:47:31 2013 +0000
+++ b/loader/ldt_keeper.c	Sun Mar 17 22:47:35 2013 +0000
@@ -17,6 +17,8 @@
  * http://svn.mplayerhq.hu/mplayer/trunk/
  */
 
+#define _BSD_SOURCE
+
 #include "config.h"
 #include "ldt_keeper.h"
 
--- a/loader/pe_image.c	Sun Mar 17 22:47:31 2013 +0000
+++ b/loader/pe_image.c	Sun Mar 17 22:47:35 2013 +0000
@@ -37,6 +37,9 @@
  *   newer pe binaries produced by MSVC 5 and later, since they are also aligned
  *   to 4096 byte boundaries on disk.
  */
+
+#define _BSD_SOURCE
+
 #include "config.h"
 #include "debug.h"
 
--- a/loader/win32.c	Sun Mar 17 22:47:31 2013 +0000
+++ b/loader/win32.c	Sun Mar 17 22:47:35 2013 +0000
@@ -16,6 +16,8 @@
  * http://svn.mplayerhq.hu/mplayer/trunk/
  */
 
+#define _BSD_SOURCE
+
 #include "config.h"
 #include "mangle.h"
 
--- a/vidix/sh_veu_vid.c	Sun Mar 17 22:47:31 2013 +0000
+++ b/vidix/sh_veu_vid.c	Sun Mar 17 22:47:35 2013 +0000
@@ -24,6 +24,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#define _BSD_SOURCE
+
 #include <stdio.h>
 #include <unistd.h>
 #include <string.h>