diff -ruN motif-2.3.8-orig/configure motif-2.3.8/configure --- motif-2.3.8-orig/configure 2017-12-05 06:49:56.000000000 -0600 +++ motif-2.3.8/configure 2023-07-16 13:24:40.000000000 -0500 @@ -13172,6 +13172,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ +#include #include int main() { Boolean brc; @@ -14654,8 +14655,9 @@ else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ +#include #include -int sprintf(); main() { exit(sprintf(".")); } +int main() { char buf[1]; int i = sprintf(buf, ""); return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : ac_cv_func_void_sprintf=no diff -ruN motif-2.3.8-orig/demos/unsupported/xmform/xmform.c motif-2.3.8/demos/unsupported/xmform/xmform.c --- motif-2.3.8-orig/demos/unsupported/xmform/xmform.c 2016-03-15 21:10:08.000000000 -0500 +++ motif-2.3.8/demos/unsupported/xmform/xmform.c 2023-07-16 13:00:03.000000000 -0500 @@ -50,6 +50,7 @@ xmform*bottomShadowColor: black ***-------------------------------------------------------------------*/ +#include #include #include #include