Rev 12 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
#! /bin/sh /usr/share/dpatch/dpatch-run
## 20_strict_includes.dpatch by Magnus Holmgren <magnus@kibibyte.se>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Add "#include <string.h>" as needed to fix FTBFS with GCC 4.3.
@DPATCH@
diff -urNad trunk~/src/dkim.cpp trunk/src/dkim.cpp
--- trunk~/src/dkim.cpp 2007-09-04 14:38:44.000000000 +0200
+++ trunk/src/dkim.cpp 2008-01-19 23:32:38.000000000 +0100
@@ -20,6 +20,7 @@
#else
#endif
+#include <string.h>
#include "dkim.h"
#include "dkimsign.h"
#include "dkimverify.h"
diff -urNad trunk~/src/dkimverify.cpp trunk/src/dkimverify.cpp
--- trunk~/src/dkimverify.cpp 2007-10-29 15:15:18.000000000 +0100
+++ trunk/src/dkimverify.cpp 2008-01-19 23:32:50.000000000 +0100
@@ -29,6 +29,7 @@
#include <assert.h>
#include <vector>
#include <algorithm>
+#include <string.h>
#define MAX_SIGNATURES 10 // maximum number of DKIM signatures to process in a message