From cc9cc1aea8694dec3067246d4483bb3c2860592e Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 29 Apr 2009 22:25:20 +0000 Subject: Some tweaks for Solaris. Get rid of vis.* in favour of a small replacement function. --- compat/getopt.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'compat/getopt.h') 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 +#endif /* * GNU-like getopt_long() and 4.4BSD getsubopt()/optreset extensions -- cgit