Files
MINGW-packages/mingw-w64-sdcc/0002-Added-missing-include-of-string.h.patch
jhol d6496ec488 sdcc: Added 4.5.0 (#26732)
Co-authored-by: Peiyuan Song <squallatf@gmail.com>
2025-12-23 13:18:33 +03:00

26 lines
667 B
Diff

From e8d6db00a2006d49c88d6f0acb45ab7ac2c6b7a4 Mon Sep 17 00:00:00 2001
From: Joel Holdsworth <jholdsworth@nvidia.com>
Date: Fri, 23 Aug 2024 14:05:51 -0700
Subject: [PATCH 2/4] Added missing include of string.h
---
src/SDCCattr.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/SDCCattr.c b/src/SDCCattr.c
index b1194b3a9..6218ba3e0 100644
--- a/src/SDCCattr.c
+++ b/src/SDCCattr.c
@@ -18,6 +18,8 @@
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-------------------------------------------------------------------------*/
+#include <string.h>
+
#include "SDCCattr.h"
#include "SDCCsymt.h"
#include "SDCCutil.h"
--
2.52.0