From bd594e3075451b1007eaf9d13326086aa8965279 Mon Sep 17 00:00:00 2001 From: Sam Vilain Date: Wed, 28 Aug 2024 04:28:34 -0400 Subject: [PATCH] Common/DtaOptions.h: add include for sized integer types MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To solve this compile issue seen on Ubuntu 24.04: In file included from ./Common/log.h:45, from LinuxPBA/LinuxPBA.cpp:24: ./Common/DtaOptions.h:33:5: error: ‘uint8_t’ does not name a type 33 | uint8_t password; /**< password supplied */ | ^~~~~~~ ./Common/DtaOptions.h:1:1: note: ‘uint8_t’ is defined in header ‘’; did you forget to ‘#include ’? +++ |+#include Add the indicated header inclusion! Solves lazar/sedutil#36. --- Common/DtaOptions.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Common/DtaOptions.h b/Common/DtaOptions.h index 9eec24a..ef72f9b 100644 --- a/Common/DtaOptions.h +++ b/Common/DtaOptions.h @@ -21,6 +21,8 @@ along with sedutil. If not, see . #ifndef _DTAOPTIONS_H #define _DTAOPTIONS_H +#include + /** Output modes */ typedef enum _sedutiloutput { sedutilNormal,