aboutsummaryrefslogtreecommitdiff
path: root/compat/strlcat.c
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-01-22 17:00:56 +0000
committerOmar Polo <op@omarpolo.com>2021-01-22 17:00:56 +0000
commit7e262563948fcaeea143e6c7c23b6a300010eec5 (patch)
tree32d92af278b34baa1f2043ae71b7d07131edad27 /compat/strlcat.c
parent3527b7a58a5f228a73f73ba74bc4ff86f7305a60 (diff)
fixing compat compilation
include headers if needed and include config.h
Diffstat (limited to 'compat/strlcat.c')
-rw-r--r--compat/strlcat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/compat/strlcat.c b/compat/strlcat.c
index 1c19062..b4e969e 100644
--- a/compat/strlcat.c
+++ b/compat/strlcat.c
@@ -17,6 +17,8 @@
#include <sys/types.h>
#include <string.h>
+#include "../config.h"
+
/*
* Appends src to string dst of size dsize (unlike strncat, dsize is the
* full size of dst, not space left). At most dsize-1 characters