changeset 34711:d5e1a1ad86b8

Correct r34798. The header only needs stdint.h while the C file needs inttypes.h.
author ib
date Sun, 04 Mar 2012 18:42:45 +0000
parents 749da4b0c32a
children 6e0aeeb6cdc4
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 16:20:47 2012 +0000
+++ b/osdep/shmem.c	Sun Mar 04 18:42:45 2012 +0000
@@ -36,6 +36,7 @@
 #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 16:20:47 2012 +0000
+++ b/osdep/shmem.h	Sun Mar 04 18:42:45 2012 +0000
@@ -19,7 +19,7 @@
 #ifndef MPLAYER_SHMEM_H
 #define MPLAYER_SHMEM_H
 
-#include <inttypes.h>
+#include <stdint.h>
 
 void* shmem_alloc(int64_t size);
 void shmem_free(void* p,int64_t size);