GNOME Bugzilla – Bug 625506
libseahorse/seahorse_util.c compile error on Ubuntu 6.06
Last modified: 2010-08-01 07:31:10 UTC
Created attachment 166723 [details] [review] inserts include for sys/types.h Using pkgsrc on Ubuntu Linux 6.06, compiling libseahorse/seahorse_util.c gives this error: seahorse-util.c: In function 'seahorse_util_write_file_private': seahorse-util.c:883: error: 'mode_t' undeclared (first use in this function) seahorse-util.c:883: error: (Each undeclared identifier is reported only once seahorse-util.c:883: error: for each function it appears in.) seahorse-util.c:883: error: syntax error before 'mask' seahorse-util.c:885: error: 'mask' undeclared (first use in this function) For the declaration of mode_t, sys/types.h needs to be included. Attached patch for seahorse_util.c inserts the include. Regards Matthias Ferdinand
Committed. commit 5b5ac4bf6329972199fd4d447cbee41c481d7c10 Author: Matthias Ferdinand <mf@14v.de> Date: Sun Aug 1 09:12:10 2010 +0200 Fix compile error in seahorse_util.c For the declaration of mode_t, sys/types.h needs to be included. Fixes bug #625506