Patch from J Sisson. Fix compile on *BSD.
authorMartin Johansson <martin@fatbob.nu>
Fri, 21 Oct 2011 17:23:29 +0000 (13:23 -0400)
committerMartin Johansson <martin@fatbob.nu>
Fri, 21 Oct 2011 17:23:29 +0000 (13:23 -0400)
src/main.c

index b7e5b1d1596470818670403d562f167284ac60a9..bcefa1d95382d32254d5ddb8fab2f6d247904f59 100644 (file)
@@ -235,8 +235,9 @@ int main(int argc, char **argv)
 {
        bool_t nodaemon = false;
 #ifdef _POSIX_PRIORITY_SCHEDULING
-       bool_t realtime = false, testconfig = false;
+       bool_t realtime = false;
 #endif
+       bool_t testconfig = false;
        char *conffile = NULL, *pidfile = NULL;
        int c;
        struct utsname utsbuf;