Skip to content

Commit af26ae1

Browse files
committed
proper export and includes
1 parent d1fd7bc commit af26ae1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/host/common/strl.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
// https://gist.github.com/Fonger/98cc95ac39fbe1a7e4d9
22

3+
#include <cstddef>
4+
#include <cstdlib>
5+
#include <cstring>
6+
7+
extern "C" {
8+
39
#ifndef HAVE_STRLCAT
410
/*
511
'_cups_strlcat()' - Safely concatenate two strings.
@@ -82,3 +88,5 @@ strlcpy(char* dst, /* O - Destination string */
8288
return (srclen);
8389
}
8490
#endif /* !HAVE_STRLCPY */
91+
92+
} // extern "C"

0 commit comments

Comments
 (0)