Commit Diff
Commit:
f164f2f4aaf976ab389ff2b4de3fb8a77b6f4028
From:
Omar Polo <op@omarpolo.com>
Date:
Fri Jul 1 20:05:34 2022 UTC
Message
include config.h in all compats
commit - e932bdc50ba91140a7d70e80660510aaaf1ff2d9
commit + f164f2f4aaf976ab389ff2b4de3fb8a77b6f4028
blob - 82e73c29fb121f7edabf8d69124d674293487361
blob + 205c94ce224b03c9bda58d83dfca72157f074573
--- compat_err.c
+++ compat_err.c
@@ -27,6 +27,8 @@
* SUCH DAMAGE.
*/
+#include "config.h"
+
#include <errno.h>
#include <stdarg.h>
#include <stdio.h>
blob - 09126eb7bca0a8119b45668f7b241041316bd9dd
blob + 3205698da48897c9ee2f91d85ebf8238b50da5d1
--- compat_getprogname.c
+++ compat_getprogname.c
@@ -16,6 +16,8 @@
* OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include "config.h"
+
#include <sys/types.h>
#include <errno.h>
blob - 2b7b991c5d50d058661540780a0e733f5b36b978
blob + bb66fe8f5ebbd5644f523852c05d76a967605cbf
--- compat_reallocarray.c
+++ compat_reallocarray.c
@@ -14,6 +14,8 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include "config.h"
+
#include <sys/types.h>
#include <errno.h>
#include <stdint.h>
blob - f3e9d9a73fd6354a9f43d3939e24eff008c31fad
blob + 7e5d822860ff8bda342ce36eec47f24d73188382
--- compat_recallocarray.c
+++ compat_recallocarray.c
@@ -16,6 +16,8 @@
/* OPENBSD ORIGINAL: lib/libc/stdlib/recallocarray.c */
+#include "config.h"
+
#include <errno.h>
#include <stdlib.h>
#include <stdint.h>
blob - e1807693138c2fc6b662ac9d8859fa0f2431c360
blob + 48637e815bda10080f6133482452730c1ef4b009
--- compat_strtonum.c
+++ compat_strtonum.c
@@ -15,6 +15,8 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include "config.h"
+
#include <errno.h>
#include <limits.h>
#include <stdlib.h>
Omar Polo