mirror of
https://github.com/troglobit/libite.git
synced 2026-11-03 13:18:33 +00:00
Fix minor build error in new strndupa() header
Wrong path to local strnlen.h file. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
c1b3b76ea3
commit
12f619a320
2 files changed
+6
-12
No files matched your search
@@ -15,8 +15,8 @@
|
||||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef LITE_STRNLEN_H
|
||||
#define LITE_STRNLEN_H
|
||||
#ifndef LITE_STRNLEN_H_
|
||||
#define LITE_STRNLEN_H_
|
||||
|
||||
#if !defined(HAVE_STRNLEN)
|
||||
#if defined(strnlen)
|
||||
@@ -24,7 +24,6 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
#if !HAVE_STRNLEN
|
||||
#include <stddef.h> /* size_t */
|
||||
|
||||
@@ -41,4 +40,4 @@ static inline size_t xstrnlen(const char *str, size_t lim)
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* LITE_STRNLEN_H */
|
||||
#endif /* LITE_STRNLEN_H_ */
|
||||
Reference in new issue
Block a user