Update of /cvsroot/tmux/tmux
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv12705
Modified Files:
compat.h configure input-keys.c tmux.h window.c xmalloc.c
Log Message:
Solaris 9 has no stdint.h, ugh. Reported by a couple of people most
recently Timothy Larson.
Index: xmalloc.c
===================================================================
RCS file: /cvsroot/tmux/tmux/xmalloc.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- xmalloc.c 28 Oct 2009 23:12:38 -0000 1.12
+++ xmalloc.c 7 Sep 2010 19:32:58 -0000 1.13
@@ -20,7 +20,6 @@
#include <errno.h>
#include <libgen.h>
-#include <stdint.h>
#include <stdlib.h>
#include <string.h>
Index: configure
===================================================================
RCS file: /cvsroot/tmux/tmux/configure,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -d -r1.53 -r1.54
--- configure 6 Jun 2010 13:00:47 -0000 1.53
+++ configure 7 Sep 2010 19:32:58 -0000 1.54
@@ -45,6 +45,7 @@
#undef HAVE_PTY_H
#undef HAVE_QUEUE_H
#undef HAVE_SETPROCTITLE
+#undef HAVE_STDINT_H
#undef HAVE_STRCASESTR
#undef HAVE_STRLCAT
#undef HAVE_STRLCPY
@@ -73,6 +74,7 @@
#define HAVE_QUEUE_H
#define HAVE_SETENV
#define HAVE_SETPROCTITLE
+#define HAVE_STDINT_H
#define HAVE_STRCASESTR
#define HAVE_STRLCAT
#define HAVE_STRLCPY
@@ -99,6 +101,7 @@
#define HAVE_PROGNAME
#define HAVE_PTY_H
#define HAVE_SETENV
+#define HAVE_STDINT_H
#define HAVE_STRCASESTR
#define HAVE_STRSEP
#define HAVE_U_INT
@@ -124,6 +127,7 @@
#define HAVE_BZERO
#define HAVE_DAEMON
#define HAVE_SETENV
+#define HAVE_STDINT_H
EOF
cat <<EOF >>$CONFIG_MK
LIBS+= -lcurses -levent
@@ -184,6 +188,7 @@
#define HAVE_GETOPT
#define HAVE_PATHS_H
#define HAVE_PROGNAME
+#define HAVE_STDINT_H
#define HAVE_SETENV
#define HAVE_STRCASESTR
#define HAVE_STRLCAT
@@ -219,6 +224,7 @@
#define HAVE_PROGNAME
#define HAVE_SETENV
#define HAVE_SETPROCTITLE
+#define HAVE_STDINT_H
#define HAVE_STRCASESTR
#define HAVE_STRLCAT
#define HAVE_STRLCPY
@@ -248,6 +254,7 @@
#define HAVE_PROGNAME
#define HAVE_SETPROCTITLE
#define HAVE_SETENV
+#define HAVE_STDINT_H
#define HAVE_STRCASESTR
#define HAVE_STRLCAT
#define HAVE_STRLCPY
Index: compat.h
===================================================================
RCS file: /cvsroot/tmux/tmux/compat.h,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- compat.h 6 Jun 2010 13:00:46 -0000 1.25
+++ compat.h 7 Sep 2010 19:32:58 -0000 1.26
@@ -85,6 +85,12 @@
#include <imsg.h>
#endif
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#else
+#include <inttypes.h>
+#endif
+
#ifdef HAVE_BROKEN_CMSG_FIRSTHDR
/* CMSG_FIRSTHDR broken on OS X. */
#undef CMSG_FIRSTHDR
Index: input-keys.c
===================================================================
RCS file: /cvsroot/tmux/tmux/input-keys.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- input-keys.c 4 Dec 2009 22:14:47 -0000 1.44
+++ input-keys.c 7 Sep 2010 19:32:58 -0000 1.45
@@ -18,7 +18,6 @@
#include <sys/types.h>
-#include <stdint.h>
#include <stdlib.h>
#include <string.h>
Index: window.c
===================================================================
RCS file: /cvsroot/tmux/tmux/window.c,v
retrieving revision 1.136
retrieving revision 1.137
diff -u -d -r1.136 -r1.137
--- window.c 29 Aug 2010 14:46:13 -0000 1.136
+++ window.c 7 Sep 2010 19:32:58 -0000 1.137
@@ -24,7 +24,6 @@
#include <fnmatch.h>
#include <pwd.h>
#include <signal.h>
-#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <termios.h>
Index: tmux.h
===================================================================
RCS file: /cvsroot/tmux/tmux/tmux.h,v
retrieving revision 1.574
retrieving revision 1.575
diff -u -d -r1.574 -r1.575
--- tmux.h 29 Aug 2010 14:42:11 -0000 1.574
+++ tmux.h 7 Sep 2010 19:32:58 -0000 1.575
@@ -31,7 +31,6 @@
#include <limits.h>
#include <signal.h>
#include <stdarg.h>
-#include <stdint.h>
#include <stdio.h>
#include <termios.h>
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:
Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
tmux-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-cvs