compatfd: trivial compile fix
commitaabbb60ea277510612bdd735f5340d29aaa024e3
authorChris Wright <chrisw@sous-sol.org>
Tue, 15 Dec 2009 01:05:40 +0000 (14 17:05 -0800)
committerAvi Kivity <avi@redhat.com>
Tue, 15 Dec 2009 09:40:08 +0000 (15 11:40 +0200)
treeb50cebd248e95e167d314c8f1914546afbc01897
parent08fd26ba6ba34b718a4478bc025c1a584c6a9267
compatfd: trivial compile fix

Fix build when !CONFIG_EVENTFD

 CC    compatfd.o
compatfd.c: In function ‘qemu_eventfd’:
compatfd.c:137: error: ‘ret’ undeclared (first use in this function)
compatfd.c:137: error: (Each undeclared identifier is reported only once
compatfd.c:137: error: for each function it appears in.)
make: *** [compatfd.o] Error 1

Signed-off-by: Chris Wright <chrisw@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
compatfd.c