mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 23:16:14 +01:00
g_check_setuid: Include glib-private.h
Otherwise we fail to build with -Werror=missing-prototypes. https://bugzilla.gnome.org/show_bug.cgi?id=687385
This commit is contained in:
parent
139892734e
commit
bd8387f25a
@ -60,6 +60,7 @@
|
||||
#include "gutils.h"
|
||||
|
||||
#include "glib-init.h"
|
||||
#include "glib-private.h"
|
||||
#include "genviron.h"
|
||||
#include "gfileutils.h"
|
||||
#include "ggettext.h"
|
||||
@ -2416,7 +2417,7 @@ g_get_tmp_dir (void)
|
||||
* equivalent __libc_enable_secure is available). See:
|
||||
* http://osdir.com/ml/linux.lfs.hardened/2007-04/msg00032.html
|
||||
*/
|
||||
gboolean
|
||||
G_GNUC_INTERNAL gboolean
|
||||
g_check_setuid (void)
|
||||
{
|
||||
/* TODO: get __libc_enable_secure exported from glibc.
|
||||
|
Loading…
Reference in New Issue
Block a user