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:
Joachim Nilsson committed 2016-06-06 11:04:17 +02:00
1 parent c1b3b76ea3
commit 12f619a320
2 files changed
+6 -12

No files matched your search

+3 -4
View File
@@ -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_ */