Skip to content

Commit

Permalink
define __GNU_SOURCE for O_NOFOLLOW
Browse files Browse the repository at this point in the history
  • Loading branch information
ghedo committed Jan 13, 2011
1 parent 85a2307 commit ba1d0f3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/sysctl.c
Expand Up @@ -13,6 +13,9 @@
#include <sys/stat.h>
#include <err.h>
#include "nls.h"
#ifndef __USE_GNU
#define __USE_GNU
#endif
#include <fcntl.h>

const char *to_prio[] = { "none", "realtime", "best-effort", "idle", };
Expand Down
3 changes: 3 additions & 0 deletions src/ulatencyd.c
Expand Up @@ -7,6 +7,9 @@
#include <glib.h>
#include <stdlib.h>
#include <string.h>
#ifndef __USE_GNU
#define __USE_GNU
#endif
#include <fcntl.h>


Expand Down

0 comments on commit ba1d0f3

Please sign in to comment.