chromium-browser-stable-sla.../FEDORA-Fix-issue-where-timespec-is-not-defined-when-.patch

40 lines
1.3 KiB
Diff
Raw Normal View History

From 4730bf3304a9030adde50a9cafb501a1d635bbff Mon Sep 17 00:00:00 2001
From: Alexey Gladkov <legion@altlinux.org>
Date: Fri, 14 Oct 2016 12:21:19 +0300
Subject: [PATCH 15/24] FEDORA: Fix issue where timespec is not defined when
sys/stat.h is included
---
third_party/boringssl/src/crypto/x509/by_dir.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/third_party/boringssl/src/crypto/x509/by_dir.c b/third_party/boringssl/src/crypto/x509/by_dir.c
index 9a0e2ebc6c2..02826d6fba5 100644
--- a/third_party/boringssl/src/crypto/x509/by_dir.c
+++ b/third_party/boringssl/src/crypto/x509/by_dir.c
@@ -49,20 +49,21 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* The licence and distribution terms for any publically available version or
* derivative of this code cannot be changed. i.e. this code cannot simply be
* copied and put under another distribution licence
* [including the GNU Public Licence.] */
#include <string.h>
+#include <time.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <openssl/buf.h>
#include <openssl/err.h>
#include <openssl/mem.h>
#include <openssl/thread.h>
#include <openssl/x509.h>
#if !defined(OPENSSL_TRUSTY)
--
2.17.1