/*
 *  hap -- a mail notification program
 * 
 *  copyright 1995 by Eric Fischer, etaoin@uchicago.edu
 * 
 *  copies of hap may be redistributed under the terms of the
 *  GNU public license, copies of which are available from
 *  the Free Software Foundation, 59 Temple Place, Boston, MA
 *  02111 USA.
 *
 */

#include "hap.h"

/****************************************************************************

   if everybody would just get an ANSI libc, we wouldn't
   have to mess with this...

****************************************************************************/

/* for systems that don't have ANSI strerror(), this retrieves the error
   string from sys_errlist[].  Returns pointer to extern string.
*/

#ifndef HAVE_STRERROR
	extern char *sys_errlist[];

	char *
	strerror (what)
		int what;
	{
		return sys_errlist[what];
	}
#endif

