Fixes implicit declaration errors on some system, additionally these defines are required according to the manpages. Index: src/splashy_config-functions.c =================================================================== --- src/splashy_config-functions.c (revision 931) +++ src/splashy_config-functions.c (working copy) @@ -25,6 +25,7 @@ * Boston, MA 02110-1301 USA */ +#define _GNU_SOURCE #include /* system, exit */ #include /* strlen */ #include /* getuid */ Index: src/splashy_pgrep.c =================================================================== --- src/splashy_pgrep.c (revision 931) +++ src/splashy_pgrep.c (working copy) @@ -13,6 +13,8 @@ */ +#define _XOPEN_SOURCE +#define _XOPEN_SOURCE_EXTENDED #include #include #include