changeset 34710:749da4b0c32a

Put #include <inttypes.h> into the header file where it should be. Reported by Stephen Sheldon, sfsheldo gmail com.
author ib
date Sun, 04 Mar 2012 16:20:47 +0000
parents b74a8e55c632
children d5e1a1ad86b8
files osdep/shmem.c osdep/shmem.h
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/osdep/shmem.c	Sun Mar 04 15:42:16 2012 +0000
+++ b/osdep/shmem.c	Sun Mar 04 16:20:47 2012 +0000
@@ -36,7 +36,6 @@
 #endif
 #include <sys/socket.h>
 #include <fcntl.h>
-#include <inttypes.h>
 
 #include "mp_msg.h"
 #include "shmem.h"
--- a/osdep/shmem.h	Sun Mar 04 15:42:16 2012 +0000
+++ b/osdep/shmem.h	Sun Mar 04 16:20:47 2012 +0000
@@ -19,6 +19,8 @@
 #ifndef MPLAYER_SHMEM_H
 #define MPLAYER_SHMEM_H
 
+#include <inttypes.h>
+
 void* shmem_alloc(int64_t size);
 void shmem_free(void* p,int64_t size);