diff options
Diffstat (limited to 'lib/libuutil')
-rw-r--r-- | lib/libuutil/uu_misc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libuutil/uu_misc.c b/lib/libuutil/uu_misc.c index 66a6ca569..578bf3294 100644 --- a/lib/libuutil/uu_misc.c +++ b/lib/libuutil/uu_misc.c @@ -249,7 +249,13 @@ uu_release_child(void) uu_release(); } +#ifdef __GNUC__ +static void +uu_init(void) __attribute__((constructor)); +#else #pragma init(uu_init) +#endif + static void uu_init(void) { |