summaryrefslogtreecommitdiff
path: root/security/lua-ossl/patches/patch-config.h.guess
blob: ab43666d06450e46025439df36634457ea1682a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-config.h.guess,v 1.1 2020/07/11 15:18:24 nia Exp $

Don't try to include sys/epoll.h on SunOS, since this breaks on SmartOS.

--- config.h.guess.orig	2020-07-09 13:10:19.000000000 +0000
+++ config.h.guess
@@ -472,7 +472,7 @@
 #define HAVE_SYS_AUXV_H ag_test_include(<sys/auxv.h>, HAVE_SYS_AUXV_H_)
 #endif
 
-#ifndef HAVE_SYS_EPOLL_H
+#if !defined(HAVE_SYS_EPOLL_H) && !defined(__sun)
 #define HAVE_SYS_EPOLL_H ag_test_include(<sys/epoll.h>, __linux__)
 #endif