Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Oct 1996 23:41:52 +0200 (MET DST)
From:      mickey@gw-deadnet.snafu.de (Andreas S. Wetzel)
To:        questions@freebsd.org
Subject:   Conflict sys/types.h <-> machine/console.h ???
Message-ID:  <m0vANQv-000ZjpC@cenotaph.snafu.de>

next in thread | raw e-mail | index | archive | help
Hi!
---

Recently I had a strange problem while trying to compile a piece of
ISDN config software named ESTIC. The software includes <sys/types.h>
as well as <machine/console.h>, which ends up in an error which states
that type key_t had been redefined. Is this a bug in the include files,
or is it correct that both include files define a type named key_t ?

<sys/types.h>

typedef long            key_t;          /* IPC key (for Sys V IPC) */

<machine/console.h>

struct key_t {
        u_char map[NUM_STATES];
        u_char spcl;
        u_char flgs;
};

I'm running FreeBSD -current compiled on Wed Sep  4 02:55:48 MET DST 1996

Any help appreciated.

Regards, mickey



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m0vANQv-000ZjpC>