libmodulemd/0002-Include-string.h-in-modulemd-util.c.patch
Stephen Gallagher 74f4cd0198
Fix pointer math error
Fix compilation failure in Fedora build system

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2018-04-25 14:10:24 -04:00

30 lines
924 B
Diff

From ed579bddb5fc359933c9c74167cf7fa9ee887e40 Mon Sep 17 00:00:00 2001
From: Stephen Gallagher <sgallagh@redhat.com>
Date: Wed, 25 Apr 2018 14:04:50 -0400
Subject: [PATCH 2/2] Include string.h in modulemd-util.c
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
---
modulemd/modulemd-util.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modulemd/modulemd-util.c b/modulemd/modulemd-util.c
index 92adaffc2e22857dcc9d65a5ea5b9375835c48d1..66a410871945490f3d797a9de97848940b318710 100644
--- a/modulemd/modulemd-util.c
+++ b/modulemd/modulemd-util.c
@@ -20,10 +20,11 @@
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
+#include <string.h>
#include "modulemd-util.h"
GHashTable *
_modulemd_hash_table_deep_str_copy (GHashTable *orig)
{
--
2.17.0