changeset 294:2146ff691bcd src

include limits.h; it was included in the previous dvdnav_internal.h and without it players segfault
author nicodvb
date Tue, 24 Apr 2007 23:06:22 +0000
parents e1769287ee6a
children 2d75ce9fa252
files highlight.c navigation.c read_cache.c remap.c searching.c settings.c vm/decoder.c vm/vm.c vm/vmcmd.c
diffstat 9 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/highlight.c	Sun Apr 22 21:29:21 2007 +0000
+++ b/highlight.c	Tue Apr 24 23:06:22 2007 +0000
@@ -29,6 +29,7 @@
 #include <inttypes.h>
 #include <stdlib.h>
 #include <stdio.h>
+#include <limits.h>
 #include <string.h>
 #include <sys/time.h>
 #include "nav_types.h"
--- a/navigation.c	Sun Apr 22 21:29:21 2007 +0000
+++ b/navigation.c	Tue Apr 24 23:06:22 2007 +0000
@@ -26,6 +26,7 @@
 #endif
 
 #include <inttypes.h>
+#include <limits.h>
 #include <string.h>
 #include <sys/time.h>
 #include "dvd_types.h"
--- a/read_cache.c	Sun Apr 22 21:29:21 2007 +0000
+++ b/read_cache.c	Tue Apr 24 23:06:22 2007 +0000
@@ -33,6 +33,7 @@
 
 #include <inttypes.h>
 #include <stdlib.h>
+#include <limits.h>
 #include <sys/time.h>
 #include <time.h>
 #include "dvd_types.h"
--- a/remap.c	Sun Apr 22 21:29:21 2007 +0000
+++ b/remap.c	Tue Apr 24 23:06:22 2007 +0000
@@ -37,6 +37,7 @@
 
 #include <assert.h>
 #include <inttypes.h>
+#include <limits.h>
 #include <sys/time.h>
 #include "dvd_types.h"
 #include "nav_types.h"
--- a/searching.c	Sun Apr 22 21:29:21 2007 +0000
+++ b/searching.c	Tue Apr 24 23:06:22 2007 +0000
@@ -27,6 +27,7 @@
 
 #include <assert.h>
 #include <inttypes.h>
+#include <limits.h>
 #include <stdio.h>
 #include <string.h>
 #include <sys/time.h>
--- a/settings.c	Sun Apr 22 21:29:21 2007 +0000
+++ b/settings.c	Tue Apr 24 23:06:22 2007 +0000
@@ -26,6 +26,7 @@
 #endif
 
 #include <inttypes.h>
+#include <limits.h>
 #include <string.h>
 #include <sys/time.h>
 #include "dvd_types.h"
--- a/vm/decoder.c	Sun Apr 22 21:29:21 2007 +0000
+++ b/vm/decoder.c	Tue Apr 24 23:06:22 2007 +0000
@@ -30,6 +30,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <inttypes.h>
+#include <limits.h>
 #include <string.h>  /* For memset */
 #include <sys/time.h>
 #include "nav_types.h"
--- a/vm/vm.c	Sun Apr 22 21:29:21 2007 +0000
+++ b/vm/vm.c	Tue Apr 24 23:06:22 2007 +0000
@@ -33,6 +33,7 @@
 #include <stdlib.h>
 #include <unistd.h>
 #include <inttypes.h>
+#include <limits.h>
 #include <assert.h>
 #include <sys/types.h>
 #include <sys/stat.h>
--- a/vm/vmcmd.c	Sun Apr 22 21:29:21 2007 +0000
+++ b/vm/vmcmd.c	Tue Apr 24 23:06:22 2007 +0000
@@ -30,6 +30,7 @@
 #include <stdio.h>
 #include <ctype.h>
 #include <inttypes.h>
+#include <limits.h>
 #include <sys/time.h>
 
 #include "dvd_types.h"