GNOME Bugzilla – Bug 748799
BSD: fix a couple if implicit declarations
Last modified: 2015-05-03 06:44:07 UTC
Created attachment 302759 [details] [review] fix a couple if implicit declarations Hi. This trivial patch fixes a couple of implicit declarations on BSD systems: vinagre/pty_open.c:337: warning: implicit declaration of function 'putenv' vinagre/pty_open.c:354: warning: implicit declaration of function 'login_tty' _BSD_SOURCE needs to be defined to expose putenv() because we also define _XOPEN_SOURCE and _GNU_SOURCE. util.h was not checked by configure so HAVE_UTIL_H was always undefined. Would it be alright to push? Thanks.
Review of attachment 302759 [details] [review]: Looks good to me.
(In reply to David King from comment #1) > Review of attachment 302759 [details] [review] [review]: > > Looks good to me. Thanks David. It's in: 5dbcf9704e1b1529172c2894182389d11fde55a5