rtc.c compile error kernel 2.1.23

Jeremy A Bussard (jbussard@ccia.com)
Tue, 28 Jan 1997 08:54:38 -0500 (EST)


Hi all,

When compiling in real time clock support on 2.1.23, an error
occurred as follows:

rtc.c: In function `rtc_poll':
rtc.c:498: `POLLIN' undeclared (first use this function)

Adding the following include statement to the list in drivers/char/rtc.c
corrects the error (this is only the output of a diff against the 2
files):

52a53
> #include <linux/poll.h>

I'm not good at making patches yet, so please bear with me :)

Jeremy

--
Jeremy Bussard			jbussard@ccia.com
Systems Administrator		Computer Central Internet Access
Student				Youngstwon State University