Package: voms / 2.1.0~rc3-4

0006-Include-config.h-before-other-header-files.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From b7a926e38db6b883f012c39ebcb10b4ee20912cc Mon Sep 17 00:00:00 2001
From: Francesco Giacomini <francesco.giacomini@cnaf.infn.it>
Date: Mon, 2 Jan 2023 13:42:26 +0100
Subject: [PATCH 6/6] Include config.h before other header files

This is an alternative (and not wrong) solution to commit 5c022c1
to define the macro OPENSSL_COMPAT_API before OpenSSL does it.
---
 src/api/ccapi/api_util.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/api/ccapi/api_util.cc b/src/api/ccapi/api_util.cc
index e023cfc..848bfbd 100644
--- a/src/api/ccapi/api_util.cc
+++ b/src/api/ccapi/api_util.cc
@@ -23,10 +23,10 @@
  *
  *********************************************************************/
 
+#include "config.h"
 #include "api_util.h"
 
 extern "C" {
-#include "config.h"
 #include "replace.h"
 
 #include <sys/types.h>
-- 
2.38.1