mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
Include <string.h> or <strings.h> for strlen prototype.
This commit is contained in:
1 parent
4c9f46a4a1
commit
c93ac403ed
1 file changed
+6
@@ -30,6 +30,12 @@
|
||||
# include <limits.h>
|
||||
#endif
|
||||
|
||||
#if HAVE_STRING_H
|
||||
# include <string.h>
|
||||
#else
|
||||
# include <strings.h>
|
||||
#endif
|
||||
|
||||
#ifndef CHAR_BIT
|
||||
# define CHAR_BIT 8
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user