diff options
author | Jason Molenda <jmolenda@apple.com> | 1998-03-31 00:46:48 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 1998-03-31 00:46:48 +0000 |
commit | f45d80805eb447a9720bf80deeb84ce196a3e28a (patch) | |
tree | 4de9630e24604b4fd8bcff65c5a1e0844f6a6350 /gdb/rdi-share/etherdrv.c | |
parent | 6ed00b060706ba0b2ef7cb68bd2d0275d846e99c (diff) | |
download | gdb-f45d80805eb447a9720bf80deeb84ce196a3e28a.zip gdb-f45d80805eb447a9720bf80deeb84ce196a3e28a.tar.gz gdb-f45d80805eb447a9720bf80deeb84ce196a3e28a.tar.bz2 |
Mon Mar 30 16:42:12 1998 Jason Molenda (crash@bugshack.cygnus.com)
* rdi-share/Makefile.am, rdi-share/aclocal.m4,
rdi-share/configure: New files.
* rdi-share/configure.in: Rewritten to be an autoconf input file.
* rdi-share/Makefile.in, rdi-share/configure: Generated by
automake/autoconf.
* rdi-share/dbg_hif.h, etherdrv.c, hostchan.c: Use autoconf tests
to check environment.
automake/autoconfiscate rdi-share. We don't use the checks that autoconf
provides too much for now, but it'll be easier to use them if any problems
crop up in the future. (rdi-share/ is foreign code and it probably isn't
worth spending any more time than necessary messing with it.)
Diffstat (limited to 'gdb/rdi-share/etherdrv.c')
-rw-r--r-- | gdb/rdi-share/etherdrv.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/rdi-share/etherdrv.c b/gdb/rdi-share/etherdrv.c index cd0980e..46eeaf4 100644 --- a/gdb/rdi-share/etherdrv.c +++ b/gdb/rdi-share/etherdrv.c @@ -25,7 +25,7 @@ #ifdef __hpux # define uint hide_HPs_uint #endif -#ifdef __unix +#ifdef STDC_HEADERS # include <unistd.h> # ifdef __hpux # undef uint @@ -62,7 +62,7 @@ # include <netdb.h> # include <sys/time.h> # include <sys/ioctl.h> -# if !defined(__hpux) && !defined(__linux__) && !defined(_WIN32) +# ifdef HAVE_SYS_FILIO_H # include <sys/filio.h> # endif # include <netinet/in.h> @@ -79,7 +79,7 @@ #include "ethernet.h" -#ifndef COMPILING_ON_WINDOWS +#if !defined(COMPILING_ON_WINDOWS) && !defined(STDC_HEADERS) /* These two might not work for windows. */ extern int sys_nerr; extern char * sys_errlist[]; |