X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=xshogi%2Fsysdeps.h;h=cd410f2e4dc809fe6b7990594be4fd2c757f112d;hb=b1b9616a3147b835beaabfaaa8f2de0db6d12ee9;hp=9864c45194cb9c381396a61b581b4ef649f62bd2;hpb=8ae7e7d1b257ef36d8a9fd1cd88807954ef10764;p=gnushogi.git diff --git a/xshogi/sysdeps.h b/xshogi/sysdeps.h index 9864c45..cd410f2 100644 --- a/xshogi/sysdeps.h +++ b/xshogi/sysdeps.h @@ -13,7 +13,7 @@ * Modified implementation of ISS mode for XShogi: Matthias Mutz * Current maintainer: Michael C. Vanier * - * XShogi borrows its piece bitmaps from CRANES Shogi. + * XShogi borrows some of its piece bitmaps from CRANES Shogi. * * Copyright 1991 by Digital Equipment Corporation, Maynard, Massachusetts. * Enhancements Copyright 1992 Free Software Foundation, Inc. @@ -64,12 +64,7 @@ #ifndef _SYSDEPS_H_ #define _SYSDEPS_H_ -#if defined(LINUX) -/* Avoid multiple definitions of wide char type. */ -#define X_WCHAR /* This should work, but doesn't. */ -#define __EMX__ /* This is an outrageous hack! */ -#endif - +#include #include #include #include @@ -79,6 +74,16 @@ #include #include +/* + * Stuff that isn't reliably included (on Linux, anyway). + */ + +extern FILE *fdopen(int fd, const char *modes); +extern int fileno(FILE *stream); +extern int kill(pid_t pid, int sig); +extern int strcasecmp(const char *s1, const char *s2); +extern int gethostname(char *name, size_t len); + /* * Check for POSIX-compatible wait().