forked from pool/strongswan
6fe1f53373
New upstream release. OBS-URL: https://build.opensuse.org/request/show/597862 OBS-URL: https://build.opensuse.org/package/show/network:vpn/strongswan?expand=0&rev=110
31 lines
1.1 KiB
Diff
31 lines
1.1 KiB
Diff
From 831a9ea232f128c13c36066a704f6ccafa335244 Mon Sep 17 00:00:00 2001
|
||
From: Nirmoy Das <ndas@suse.de>
|
||
Date: Tue, 5 Sep 2017 11:17:16 +0200
|
||
Subject: [PATCH] fix compilation error by adding stdint.h
|
||
MIME-Version: 1.0
|
||
Content-Type: text/plain; charset=UTF-8
|
||
Content-Transfer-Encoding: 8bit
|
||
|
||
error:
|
||
utils/utils/memory.h:99:15: error: ‘uintptr_t’ undeclared (first use in this function); did you mean ‘__intptr_t’?
|
||
for (i = 0; (uintptr_t)&c[i] % sizeof(long) && i < n; i++)
|
||
^~~~~~~~~
|
||
__intptr_t
|
||
---
|
||
src/libstrongswan/utils/utils/memory.h | 2 ++
|
||
1 file changed, 2 insertions(+)
|
||
|
||
Index: strongswan-5.6.2/src/libstrongswan/utils/utils/memory.h
|
||
===================================================================
|
||
--- strongswan-5.6.2.orig/src/libstrongswan/utils/utils/memory.h 2017-08-14 08:48:41.000000000 +0200
|
||
+++ strongswan-5.6.2/src/libstrongswan/utils/utils/memory.h 2018-04-17 16:53:57.590335103 +0200
|
||
@@ -22,6 +22,8 @@
|
||
#ifndef MEMORY_H_
|
||
#define MEMORY_H_
|
||
|
||
+#include <stdint.h>
|
||
+
|
||
/**
|
||
* Helper function that compares two binary blobs for equality
|
||
*/
|