GNOME Bugzilla – Bug 135300
sys/vt.h is not portable
Last modified: 2004-12-22 21:47:04 UTC
The src/drw-monitor.c file includes the sys/vt.h header, which exists on linux, but not in *BSDs, for example, causing a build failure. I don't know what this header does, but removing it lets drwright build cleanly under BSD (specially, NetBSD). The attached patch checks for this header, and only includes it if found, which will avoid any problems in Linux and let it work in BSD.
Created attachment 24727 [details] [review] Sample patch
That's a leftover from an older version that checked for idleness differently. I'll just remove the include instead. Thanks for noticing!
Fixed in CVS.