*BSD News Article 51976


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!newshost.marcam.com!news.mathworks.com!newsfeed.internetmci.com!news.msfc.nasa.gov!pendragon.jsc.nasa.gov!ames!news.hawaii.edu!adagio.kcc.hawaii.edu!user
From: kchan@leahi.kcc.hawaii.edu (Kenwrick Chan)
Subject: gcc - problems with select.h
X-Nntp-Posting-Host: adagio.kcc.hawaii.edu
Message-ID: <kchan-2309951106540001@adagio.kcc.hawaii.edu>
Sender: news@news.hawaii.edu
Organization: Kapiolani Community College
Date: Sat, 23 Sep 1995 21:06:54 GMT
Lines: 18

Folks, 
I get the following error when compiling including the file select.h


/usr/include/sys/select.h:45: parse error before `pid_t'
/usr/include/sys/select.h:45: warning: no semicolon at end of struct or union
/usr/include/sys/select.h:47: parse error before `}'


Here's the select.h file with line numbers:

44) struct selinfo {
45)        pid_t   si_pid;         /* process to be notified */
46)         short   si_flags;       /* see below */
47) };


Any suggestions?