diff libmpdvdkit2/error.c @ 16714:2ab52c9b72b9

Replace unconditional #defines by build system trickery. This reduces our local diff considerably.
author diego
date Sun, 09 Oct 2005 10:18:24 +0000
parents 0af14c5fee82
children 0783dd397f74
line wrap: on
line diff
--- a/libmpdvdkit2/error.c	Sun Oct 09 09:53:27 2005 +0000
+++ b/libmpdvdkit2/error.c	Sun Oct 09 10:18:24 2005 +0000
@@ -28,7 +28,14 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+
+#ifdef HAVE_SYS_PARAM_H
+#   include <sys/param.h>
+#endif
+
+#ifdef HAVE_LIMITS_H
 #   include <limits.h>
+#endif
 
 #include "dvdcss.h"