diff --git a/scripts/coverity-model.c b/scripts/coverity-model.c index 617f67d716..bde7411094 100644 --- a/scripts/coverity-model.c +++ b/scripts/coverity-model.c @@ -325,6 +325,15 @@ char *g_strconcat(const char *s, ...) /* Other glib functions */ +typedef struct pollfd GPollFD; + +int poll(); + +int g_poll (GPollFD *fds, unsigned nfds, int timeout) +{ + return poll(fds, nfds, timeout); +} + typedef struct _GIOChannel GIOChannel; GIOChannel *g_io_channel_unix_new(int fd) {