projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
smalloc: fix compiler warning on Windows
[fio.git]
/
oslib
/
strlcat.h
diff --git
a/oslib/strlcat.h
b/oslib/strlcat.h
index baeace40d42d54e4180a7526ed5d406bdc89581e..85e4bdab23a90ab12ad0d0fc743e36e8224a4c3c 100644
(file)
--- a/
oslib/strlcat.h
+++ b/
oslib/strlcat.h
@@
-1,6
+1,12
@@
+#ifndef CONFIG_STRLCAT
+
#ifndef FIO_STRLCAT_H
#define FIO_STRLCAT_H
-size_t strlcat(char *dst, const char *src, size_t size);
+#include <stddef.h>
+
+size_t strlcat(char *dst, const char *src, size_t dsize);
+
+#endif
#endif