Scan for existence of <sys/file.h> which is not ubiquitous; allows

klibc-mksh (despite no hope to get a signal of a job) persistent history
This commit is contained in:
tg
2011-01-30 02:18:20 +00:00
parent 30d8e3934d
commit 45d99b9ec9
2 changed files with 6 additions and 3 deletions

View File

@@ -22,11 +22,11 @@
*/
#include "sh.h"
#if HAVE_PERSISTENT_HISTORY
#if HAVE_SYS_FILE_H
#include <sys/file.h>
#endif
__RCSID("$MirOS: src/bin/mksh/histrap.c,v 1.103 2010/11/01 17:29:03 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/histrap.c,v 1.104 2011/01/30 02:18:20 tg Exp $");
/*-
* MirOS: This is the default mapping type, and need not be specified.