After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 135300 - sys/vt.h is not portable
sys/vt.h is not portable
Status: RESOLVED FIXED
Product: DrWright
Classification: Other
Component: general
master
Other All
: Normal major
: ---
Assigned To: Richard Hult
Richard Hult
Depends on:
Blocks:
 
 
Reported: 2004-02-24 16:56 UTC by Julio Merino
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Sample patch (895 bytes, patch)
2004-02-24 16:57 UTC, Julio Merino
none Details | Review

Description Julio Merino 2004-02-24 16:56:27 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.
Comment 1 Julio Merino 2004-02-24 16:57:25 UTC
Created attachment 24727 [details] [review]
Sample patch
Comment 2 Richard Hult 2004-02-24 17:04:40 UTC
That's a leftover from an older version that checked for idleness
differently. I'll just remove the include instead. Thanks for noticing!
Comment 3 Richard Hult 2004-02-28 22:26:43 UTC
Fixed in CVS.