diff options
author | Gary <admin@garyshood.com> | 2013-07-23 00:07:23 -0500 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2013-07-25 22:33:24 -0500 |
commit | 9ebd5a6aff73d70717f1d9a2f57767eae3eeb0c8 (patch) | |
tree | 0732c859b154ef706762cc205170cd2808230dfa /src/rc/start-stop-daemon.c | |
parent | bee59c68c5ff5be426e68ecb603d4cc26542f4af (diff) | |
download | openrc-9ebd5a6aff73d70717f1d9a2f57767eae3eeb0c8.tar.gz openrc-9ebd5a6aff73d70717f1d9a2f57767eae3eeb0c8.tar.bz2 openrc-9ebd5a6aff73d70717f1d9a2f57767eae3eeb0c8.tar.xz |
Add support for DragonFly BSD
Diffstat (limited to 'src/rc/start-stop-daemon.c')
-rw-r--r-- | src/rc/start-stop-daemon.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rc/start-stop-daemon.c b/src/rc/start-stop-daemon.c index bfa8852..5576d49 100644 --- a/src/rc/start-stop-daemon.c +++ b/src/rc/start-stop-daemon.c @@ -110,6 +110,7 @@ extern char **environ; #if !defined(SYS_ioprio_set) && defined(__NR_ioprio_set) # define SYS_ioprio_set __NR_ioprio_set #endif +#if !defined(__DragonFly__) static inline int ioprio_set(int which, int who, int ioprio) { #ifdef SYS_ioprio_set @@ -118,6 +119,7 @@ static inline int ioprio_set(int which, int who, int ioprio) return 0; #endif } +#endif static void free_schedulelist(void) |