ports/sysutils/ipmitool/files/patch-include_ipmitool_ipmi__hpmfwupg.h
Stefan Eßer 842a832f52 Fix build with -fno-common
Approved by:	antoine (implicit)
2020-09-01 07:13:55 +00:00

11 lines
410 B
C

--- include/ipmitool/ipmi_hpmfwupg.h.orig 2016-06-29 18:01:49 UTC
+++ include/ipmitool/ipmi_hpmfwupg.h
@@ -800,7 +800,7 @@ typedef struct _VERSIONINFO {
char descString[HPMFWUPG_DESC_STRING_LENGTH + 1];
}VERSIONINFO, *PVERSIONINFO;
-VERSIONINFO gVersionInfo[HPMFWUPG_COMPONENT_ID_MAX];
+extern VERSIONINFO gVersionInfo[HPMFWUPG_COMPONENT_ID_MAX];
#define TARGET_VER (0x01)
#define ROLLBACK_VER (0x02)