[Bug 59673] New: Missing header in gtk/channel-display.c causes breakage on OpenBSD
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Jan 21 10:13:00 PST 2013
https://bugs.freedesktop.org/show_bug.cgi?id=59673
Priority: medium
Bug ID: 59673
Assignee: spice-bugs at lists.freedesktop.org
Summary: Missing header in gtk/channel-display.c causes
breakage on OpenBSD
Severity: normal
Classification: Unclassified
OS: OpenBSD
Reporter: jasper at humppa.nl
Hardware: Other
Status: NEW
Version: unspecified
Component: gtk-client
Product: Spice
Created attachment 73397
--> https://bugs.freedesktop.org/attachment.cgi?id=73397&action=edit
Add missing include for sys/types.h.
The build of spice-gtk fails on OpenBSD (and probably the other BSD's too) as
an include for sys/types.h is lacking in gtk/channel-display.c. This means that
gcc bails out with:
In file included from /usr/include/sys/shm.h:45,
from channel-display.c:24:
/usr/include/sys/ipc.h:52: error: expected specifier-qualifier-list before
'uid_t'
/usr/include/sys/ipc.h:90: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'ftok'
In file included from channel-display.c:24:
/usr/include/sys/shm.h:103: error: expected specifier-qualifier-list before
'pid_t'
/usr/include/sys/shm.h:152: error: expected ')' before 'int'
The attached patch fixes this issue.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-bugs/attachments/20130121/7e6f04f7/attachment.html>
More information about the spice-bugs
mailing list