Newsgroups: comp.os.minix
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!email!vmars!hp
From: hp@vmars.tuwien.ac.at (Peter Holzer)
Subject: Re: mini-X server problems
Message-ID: <1991Jun6.182009.11236@email.tuwien.ac.at>
Sender: news@email.tuwien.ac.at
Nntp-Posting-Host: gipsy.vmars.tuwien.ac.at
Organization: Technical University Vienna, Dept. for Realtime Systems, AUSTRIA
References: <zilgens.676209394@cip-s05>
Distribution: comp
Date: Thu, 6 Jun 1991 18:20:09 GMT
Lines: 25

zilgens@cip-s05.informatik.rwth-aachen.de (Wolfgang Zilgens) writes:

>cc -c -i -O serv_dev.c
>/usr/include/fcntl.h:53.15  (from serv_dev.c:13):need ';'
>/usr/include/fcntl.h:54.13  (from serv_dev.c:13):off_t already declared
>/usr/include/fcntl.h:54.13  (from serv_dev.c:13):need ';'
>/usr/include/fcntl.h:55.13  (from serv_dev.c:13):need ';'


>What did I do wrong ?
>Have I a corrupt Minix-386, or
>nedds the mini-X source a patch ????

In serve-dev.c (and some other files, too) <sys/types.h> needs to be included
before <fcntl.h>. Also, there is a bug somewhere in the code handling the
PC-mouse (Also easy to find).

I have posted the diffs some time ago, so they should be in many archives, but
you are probly faster fixing them yourselves than finding, getting and applying
the patches.
--
|    _  | Peter J. Holzer                       | Think of it   |
| |_|_) | Technical University Vienna           | as evolution  |
| | |   | Dept. for Real-Time Systems           | in action!    |
| __/   | hp@vmars.tuwien.ac.at                 |     Tony Rand |
