changeset 32675:c70109fc98b2

Add/remove a few standard header #includes in our libc function replacements.
author diego
date Thu, 06 Jan 2011 12:25:33 +0000
parents 43d793e6e5b7
children db882cd69776
files osdep/glob-win.c osdep/macosx_finder_args.c osdep/mmap-os2.c osdep/strsep.c osdep/timer-darwin.c
diffstat 5 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/osdep/glob-win.c	Thu Jan 06 12:21:48 2011 +0000
+++ b/osdep/glob-win.c	Thu Jan 06 12:25:33 2011 +0000
@@ -18,6 +18,8 @@
 
 #include <sys/types.h>
 #include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
 
 #include "config.h"
 
--- a/osdep/macosx_finder_args.c	Thu Jan 06 12:21:48 2011 +0000
+++ b/osdep/macosx_finder_args.c	Thu Jan 06 12:25:33 2011 +0000
@@ -18,6 +18,8 @@
 
 #include <Carbon/Carbon.h>
 #include <ApplicationServices/ApplicationServices.h>
+#include <stdio.h>
+
 #include "stream/url.h"
 #include "mp_msg.h"
 #include "m_option.h"
--- a/osdep/mmap-os2.c	Thu Jan 06 12:21:48 2011 +0000
+++ b/osdep/mmap-os2.c	Thu Jan 06 12:25:33 2011 +0000
@@ -26,6 +26,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <io.h>
+#include <unistd.h>
 #include <sys/types.h>
 
 #include "config.h"
--- a/osdep/strsep.c	Thu Jan 06 12:21:48 2011 +0000
+++ b/osdep/strsep.c	Thu Jan 06 12:25:33 2011 +0000
@@ -18,7 +18,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#include <stdio.h>
 #include <string.h>
 
 #include "config.h"
--- a/osdep/timer-darwin.c	Thu Jan 06 12:21:48 2011 +0000
+++ b/osdep/timer-darwin.c	Thu Jan 06 12:25:33 2011 +0000
@@ -16,6 +16,7 @@
  */
 
 #include <unistd.h>
+#include <stdint.h>
 #include <stdlib.h>
 #include <time.h>
 #include <math.h>