diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-04-29 22:25:20 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-04-29 22:25:20 +0000 |
commit | cc9cc1aea8694dec3067246d4483bb3c2860592e (patch) | |
tree | 852e36aecb8ebaae8b3b114b9abeecf61d5adfc3 /compat/getopt.h | |
parent | 323b7cbfbea012ab9358b639c089012a84552bc6 (diff) | |
download | rtmux-cc9cc1aea8694dec3067246d4483bb3c2860592e.tar.gz rtmux-cc9cc1aea8694dec3067246d4483bb3c2860592e.tar.bz2 rtmux-cc9cc1aea8694dec3067246d4483bb3c2860592e.zip |
Some tweaks for Solaris.
Get rid of vis.* in favour of a small replacement function.
Diffstat (limited to 'compat/getopt.h')
-rw-r--r-- | compat/getopt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compat/getopt.h b/compat/getopt.h index aab7fe2e..92935a5a 100644 --- a/compat/getopt.h +++ b/compat/getopt.h @@ -33,7 +33,9 @@ #ifndef _GETOPT_H_ #define _GETOPT_H_ +#if !defined (__SVR4) || !defined (__sun) #include <sys/cdefs.h> +#endif /* * GNU-like getopt_long() and 4.4BSD getsubopt()/optreset extensions |