changeset 409:1c458f13d1d3 stable-0-6-76

fix template issue to build with gcc 11
author Carl Byington <carl@five-ten-sg.com>
date Sat, 27 Mar 2021 17:06:30 -0700
parents 96291a790f35
children 5fd1ca9302f7
files libpst.spec.in src/msg.cpp
diffstat 2 files changed, 10 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/libpst.spec.in	Sat Mar 27 14:57:47 2021 -0700
+++ b/libpst.spec.in	Sat Mar 27 17:06:30 2021 -0700
@@ -218,6 +218,7 @@
 * Sat Mar 27 2021 Carl Byington <carl@five-ten-sg.com> 0.6.76-1
 - Stuart C. Naifeh - fix rfc2231 encoding when saving messages to
   both .eml and .msg formats.
+- fix template issue to build with gcc 11
 
 * Tue Feb 02 2021 Milan Crha <mcrha@redhat.com> - 0.6.75-9
 - Resolves: #1913613 (Disable DII (and ImageMagic dependency) for RHEL 9)
--- a/src/msg.cpp	Sat Mar 27 14:57:47 2021 -0700
+++ b/src/msg.cpp	Sat Mar 27 17:06:30 2021 -0700
@@ -1,16 +1,17 @@
 extern "C" {
     #include "define.h"
     #include "msg.h"
-    #include <gsf/gsf-utils.h>
+}
+
+#include <gsf/gsf-utils.h>
 
-    #include <gsf/gsf-input-stdio.h>
-    #include <gsf/gsf-infile.h>
-    #include <gsf/gsf-infile-stdio.h>
+#include <gsf/gsf-input-stdio.h>
+#include <gsf/gsf-infile.h>
+#include <gsf/gsf-infile-stdio.h>
 
-    #include <gsf/gsf-output-stdio.h>
-    #include <gsf/gsf-outfile.h>
-    #include <gsf/gsf-outfile-msole.h>
-}
+#include <gsf/gsf-output-stdio.h>
+#include <gsf/gsf-outfile.h>
+#include <gsf/gsf-outfile-msole.h>
 
 #include <list>
 #include <vector>