experimental support for <strings.h>

cf. http://www.opengroup.org/onlinepubs/009695399/basedefs/strings.h.html
QNX seems to bury some functions in there
This commit is contained in:
tg
2008-11-02 22:29:36 +00:00
parent e561d9adfe
commit 89e96b6c86
3 changed files with 12 additions and 5 deletions

7
sh.h
View File

@@ -58,6 +58,9 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#if HAVE_STRINGS_H
#include <strings.h>
#endif
#include <termios.h>
#include <time.h>
#if HAVE_ULIMIT_H
@@ -100,9 +103,9 @@
#define __SCCSID(x) __IDSTRING(sccsid,x)
#ifdef EXTERN
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.249 2008/10/28 14:51:06 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.250 2008/11/02 22:29:36 tg Exp $");
#endif
#define MKSH_VERSION "R36 2008/10/28"
#define MKSH_VERSION "R36 2008/11/02"
#ifndef MKSH_INCLUDES_ONLY