diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2010-01-23 03:00:04 +0700 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2010-01-22 21:34:54 +0100 |
commit | 706a6f88f46a203adfeada1f3d98262d7cc47e47 (patch) | |
tree | 3b42d47a03cedc795a64e5fa02ada74f74de5049 /main.c | |
parent | 11fa9174dad72268c5468765ecc81112b1ca95d3 (diff) |
bsd compile fixes
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -394,7 +394,9 @@ sigterm_handler (int sig) { int main (int argc, char *argv[]) { srand (time (NULL)); +#ifdef __linux__ prctl (PR_SET_NAME, "deadbeef-main", 0, 0, 0, 0); +#endif char *homedir = getenv ("HOME"); if (!homedir) { fprintf (stderr, "unable to find home directory. stopping.\n"); |