diff -upr ocfs2-tools-ocfs2-tools-1.8.7.orig/fswreck/main.c ocfs2-tools-ocfs2-tools-1.8.7/fswreck/main.c --- ocfs2-tools-ocfs2-tools-1.8.7.orig/fswreck/main.c 2024-07-11 21:14:55.956135394 +0200 +++ ocfs2-tools-ocfs2-tools-1.8.7/fswreck/main.c 2024-07-11 21:15:04.046154578 +0200 @@ -23,6 +23,7 @@ */ #include "main.h" +#include char *progname = NULL; diff -upr ocfs2-tools-ocfs2-tools-1.8.7.orig/libocfs2/dlm.c ocfs2-tools-ocfs2-tools-1.8.7/libocfs2/dlm.c --- ocfs2-tools-ocfs2-tools-1.8.7.orig/libocfs2/dlm.c 2024-07-11 21:14:55.959468736 +0200 +++ ocfs2-tools-ocfs2-tools-1.8.7/libocfs2/dlm.c 2024-07-11 21:15:24.809537148 +0200 @@ -27,6 +27,7 @@ #define _LARGEFILE64_SOURCE #include "ocfs2/ocfs2.h" +#include #define DEFAULT_DLMFS_PATH "/dlm/" diff -upr ocfs2-tools-ocfs2-tools-1.8.7.orig/libtools-internal/verbose.c ocfs2-tools-ocfs2-tools-1.8.7/libtools-internal/verbose.c --- ocfs2-tools-ocfs2-tools-1.8.7.orig/libtools-internal/verbose.c 2024-07-11 21:14:55.959468736 +0200 +++ ocfs2-tools-ocfs2-tools-1.8.7/libtools-internal/verbose.c 2024-07-11 21:15:04.046154578 +0200 @@ -25,6 +25,7 @@ #include #include #include +#include #include #include diff -upr ocfs2-tools-ocfs2-tools-1.8.7.orig/listuuid/listuuid.c ocfs2-tools-ocfs2-tools-1.8.7/listuuid/listuuid.c --- ocfs2-tools-ocfs2-tools-1.8.7.orig/listuuid/listuuid.c 2024-07-11 21:14:55.959468736 +0200 +++ ocfs2-tools-ocfs2-tools-1.8.7/listuuid/listuuid.c 2024-07-11 21:16:49.343070937 +0200 @@ -31,6 +31,7 @@ #include #include #include +#include #include #include #include diff -upr ocfs2-tools-ocfs2-tools-1.8.7.orig/mkfs.ocfs2/mkfs.c ocfs2-tools-ocfs2-tools-1.8.7/mkfs.ocfs2/mkfs.c --- ocfs2-tools-ocfs2-tools-1.8.7.orig/mkfs.ocfs2/mkfs.c 2024-07-11 21:14:55.959468736 +0200 +++ ocfs2-tools-ocfs2-tools-1.8.7/mkfs.ocfs2/mkfs.c 2024-07-11 21:16:27.816353224 +0200 @@ -19,6 +19,7 @@ */ #include "mkfs.h" +#include static State *get_state(int argc, char **argv); static void free_state(State *s); diff -upr ocfs2-tools-ocfs2-tools-1.8.7.orig/o2cb_ctl/o2cbtool.c ocfs2-tools-ocfs2-tools-1.8.7/o2cb_ctl/o2cbtool.c --- ocfs2-tools-ocfs2-tools-1.8.7.orig/o2cb_ctl/o2cbtool.c 2024-07-11 21:14:55.962802077 +0200 +++ ocfs2-tools-ocfs2-tools-1.8.7/o2cb_ctl/o2cbtool.c 2024-07-11 21:16:35.589704990 +0200 @@ -18,6 +18,7 @@ */ #include "o2cbtool.h" +#include char *progname = "o2cbtool"; const char *stackname = "o2cb"; diff -upr ocfs2-tools-ocfs2-tools-1.8.7.orig/debugfs.ocfs2/main.c ocfs2-tools-ocfs2-tools-1.8.7/debugfs.ocfs2/main.c --- ocfs2-tools-ocfs2-tools-1.8.7.orig/debugfs.ocfs2/main.c 2024-07-11 21:18:05.593259034 +0200 +++ ocfs2-tools-ocfs2-tools-1.8.7/debugfs.ocfs2/main.c 2024-07-11 21:18:21.953300063 +0200 @@ -28,6 +28,7 @@ #include "main.h" #include #include +#include #define PROMPT "debugfs: " diff -upr ocfs2-tools-ocfs2-tools-1.8.7.orig/mount.ocfs2/mount.ocfs2.c ocfs2-tools-ocfs2-tools-1.8.7/mount.ocfs2/mount.ocfs2.c --- ocfs2-tools-ocfs2-tools-1.8.7.orig/mount.ocfs2/mount.ocfs2.c 2024-07-11 21:19:25.793460165 +0200 +++ ocfs2-tools-ocfs2-tools-1.8.7/mount.ocfs2/mount.ocfs2.c 2024-07-11 21:19:57.420206147 +0200 @@ -23,6 +23,7 @@ */ #include "mount.ocfs2.h" +#include #define OCFS2_CLUSTER_STACK_ARG "cluster_stack="