[2.1.65] include net/if.h bug

Bernhard Rosenkraenzer (root@bero-online.ml.org)
Mon, 24 Nov 1997 21:52:04 +0100 (MET)


Hi,
there's a bug in 2.1.65's net/if.h include file:
It uses the __caddr_t type several times.
This is ok in glibc, but not on systems still running libc 5. A fix is to
add

#ifndef __GLIBC__
typedef caddr_t __caddr_t;
#endif

after the includes.

LLaP
bero