From: Chris Hanson Date: Sat, 9 Jul 2005 03:28:14 +0000 (+0000) Subject: Fix typo/thinko: inclusion of was conditionalized on X-Git-Tag: 20090517-FFI~1256 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=6a87427d1bdf5e1a2799893eaf9d8452a6d905e1;p=mit-scheme.git Fix typo/thinko: inclusion of was conditionalized on _POSIX, which (a) should have been _POSIX_VERSION and (b) isn't the right thing to conditionalize anyway. --- diff --git a/v7/src/microcode/uxio.c b/v7/src/microcode/uxio.c index 1013a7bc2..db6f84cc6 100644 --- a/v7/src/microcode/uxio.c +++ b/v7/src/microcode/uxio.c @@ -1,9 +1,10 @@ /* -*-C-*- -$Id: uxio.c,v 1.51 2003/03/25 01:09:20 cph Exp $ +$Id: uxio.c,v 1.52 2005/07/09 03:28:14 cph Exp $ Copyright 1990,1991,1992,1993,1994,1995 Massachusetts Institute of Technology Copyright 1996,1997,1998,2000,2001,2003 Massachusetts Institute of Technology +Copyright 2005 Massachusetts Institute of Technology This file is part of MIT/GNU Scheme. @@ -240,10 +241,10 @@ DEFUN (OS_channel_write_dump_file, (channel, buffer, nbytes), return ((scr < 0) ? 0 : scr); } -#ifdef _POSIX -#include +#ifdef HAVE_STRING_H +# include #else -extern int EXFUN (strlen, (CONST char *)); + extern int EXFUN (strlen, (CONST char *)); #endif void