Skip to content

Commit

Permalink
string.h: include strings.h for compatibility.
Browse files Browse the repository at this point in the history
* Partly reverting hrev47655, as the moved declarations are expected
  by many ports to be accessable via string.h. 
  Following standards is a good thing in general, but not if it causes 
  more problems than it helps ...
  • Loading branch information
olta committed Oct 29, 2014
1 parent 488289a commit b9c8e3d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions headers/posix/string.h
Expand Up @@ -74,6 +74,10 @@ extern char *strupr(char *string);

extern const char *strsignal(int signum);

/* for compatibility, pull in functions declared in strings.h */
#include <strings.h>


#ifdef __cplusplus
}
#endif
Expand Down

0 comments on commit b9c8e3d

Please sign in to comment.