[MPlayer-dev-eng] [PATCH] rtsp.c and rmff.h

Steven M. Schultz sms at 2BSD.COM
Fri Apr 18 23:14:23 CEST 2003


Hi -

	On some systems (I checked a RH-7.1 system and FreeBSD) it seems
	that uint32_t is found in <inttypes.h> (or stdint.h).   It looks
	like <inttypes.h> includes <stdint.h> so including <inttypes.h>.

	Does Cygwin have inttypes.h?  If so then including <inttypes.h>
	would be better than '#ifdef __CYGWIN__".

	Below is the (small) change I made to get MPlayer compiling.

	Cheers,
	Steven Schultz

---------------------------cut here-------------------
--- libmpdemux/realrtsp/rmff.h.dist	Thu Apr 17 13:38:57 2003
+++ libmpdemux/realrtsp/rmff.h	Fri Apr 18 14:08:37 2003
@@ -35,6 +35,7 @@
 #include <fcntl.h>
 #include <stdlib.h>
 #include <string.h>
+#include <inttypes.h>
 
 
 #ifndef HAVE_RMFF_H
--- libmpdemux/realrtsp/rtsp.c.dist	Thu Apr 17 13:38:57 2003
+++ libmpdemux/realrtsp/rtsp.c	Fri Apr 18 14:08:46 2003
@@ -40,6 +40,7 @@
 #include <time.h>
 #include <sys/time.h>
 #include <sys/types.h>
+#include <inttypes.h>
 
 #include "rtsp.h"
 



More information about the MPlayer-dev-eng mailing list