From 10e3bb7ab0cb2a4e89c8a05251e4b8192fc2513f Mon Sep 17 00:00:00 2001 From: Matteo Cypriani Date: Wed, 20 Oct 2010 17:18:16 +0200 Subject: [PATCH] [Listener] Fix compilation without pthreads --- infrastructure-centred/owlps-listener/owlps-listenerd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/infrastructure-centred/owlps-listener/owlps-listenerd.c b/infrastructure-centred/owlps-listener/owlps-listenerd.c index c580d29..137bae9 100644 --- a/infrastructure-centred/owlps-listener/owlps-listenerd.c +++ b/infrastructure-centred/owlps-listener/owlps-listenerd.c @@ -266,7 +266,9 @@ void parse_command_line(int argc, char **argv) print_usage() ; exit(0) ; case 'H' : +#ifdef USE_PTHREAD SET_AUTOCALIBRATION_HELLO_DELAY(strtol(optarg, NULL, 0)) ; +#endif // USE_PTHREAD break ; case 'k' : #ifdef USE_PTHREAD