Skip to content

Commit

Permalink
Fix Solaris compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
tbeu committed Feb 9, 2024
1 parent 7789bde commit ffd023b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion getopt/getopt.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
#ifndef _GETOPT_H_
#define _GETOPT_H_

#if !defined(_WIN32) && !defined(_WIN64)
#if !(defined(_WIN32) || defined(_WIN64) || defined(__SVR4) || defined(__svr4__))
# include <sys/cdefs.h>
#endif

Expand Down
2 changes: 1 addition & 1 deletion getopt/getopt_long.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/

#if !defined(_WIN32) && !defined(_WIN64)
#if !(defined(_WIN32) || defined(_WIN64) || defined(__SVR4) || defined(__svr4__))
# include <sys/cdefs.h>
# include <err.h>
#else
Expand Down

0 comments on commit ffd023b

Please sign in to comment.