From a1cd2597588f850e3351ec10a689b0749500ef38 Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 09 2020 12:22:52 +0000 Subject: Apply patch 0011-dmidecode-Protect-dmidecode.h-against-double-inclusi.patch patch_name: 0011-dmidecode-Protect-dmidecode.h-against-double-inclusi.patch present_in_specfile: true --- diff --git a/dmidecode.h b/dmidecode.h index 20e7e96..9ecc179 100644 --- a/dmidecode.h +++ b/dmidecode.h @@ -18,6 +18,9 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifndef DMIDECODE_H +#define DMIDECODE_H + #include "types.h" struct dmi_header @@ -30,3 +33,5 @@ struct dmi_header int is_printable(const u8 *data, int len); const char *dmi_string(const struct dmi_header *dm, u8 s); + +#endif