diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-18 20:11:25 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-18 20:11:25 +0000 |
commit | be53d7f298bb81297ff0d186f9ddb585a2e57198 (patch) | |
tree | f461c861805dc1694884e772a7c07bfe64f14a3d /tmux.h | |
parent | 0d5ad358ae3bc80cbf226f5aef5790ca1e1f430c (diff) | |
download | rtmux-be53d7f298bb81297ff0d186f9ddb585a2e57198.tar.gz rtmux-be53d7f298bb81297ff0d186f9ddb585a2e57198.tar.bz2 rtmux-be53d7f298bb81297ff0d186f9ddb585a2e57198.zip |
More Sun OS crap.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 21 |
1 files changed, 15 insertions, 6 deletions
@@ -1,4 +1,4 @@ -/* $Id: tmux.h,v 1.148 2008-06-18 19:52:29 nicm Exp $ */ +/* $Id: tmux.h,v 1.149 2008-06-18 20:11:25 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -36,22 +36,31 @@ #include "compat/tree.h" #endif +#include <curses.h> #include <limits.h> #include <poll.h> #include <signal.h> #include <stdarg.h> -#include <stdio.h> #include <stdint.h> +#include <stdio.h> #include <term.h> #include "array.h" -extern char *__progname; +extern const char *__progname; #ifndef INFTIM #define INFTIM -1 #endif +#ifndef WAIT_ANY +#define WAIT_ANY -1 +#endif + +#ifndef SUN_LEN +#define SUN_LEN(sun) (sizeof (sun)->sun_path) +#endif + #ifndef __dead #define __dead __attribute__ ((__noreturn__)) #endif @@ -73,6 +82,7 @@ extern char *__progname; #ifdef NO_PATHS_H #define _PATH_BSHELL "/bin/sh" #define _PATH_TMP "/tmp/" +#define _PATH_DEVNULL "/dev/null" #endif /* Default configuration file. */ @@ -762,13 +772,12 @@ size_t strlcat(char *, const char *, size_t); #ifdef NO_DAEMON /* daemon.c */ -size_t daemon(int, int); +int daemon(int, int); #endif #ifdef NO_FORKPTY /* forkpty.c */ -pid_t forkpty( - int *, int *, char *, struct termios *, struct winsize *); +pid_t forkpty(int *, char *, struct termios *, struct winsize *); #endif /* tmux.c */ |