[lkml]   [1997]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectrtc.c compile error kernel 2.1.23
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

> #include <linux/poll.h>

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

Jeremy Bussard
Systems Administrator Computer Central Internet Access
Student Youngstwon State University

 \ /
  Last update: 2005-03-22 13:38    [W:0.027 / U:1.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site