Commit 79051fbd authored by Titouan Christophe's avatar Titouan Christophe Committed by Roger Light
Browse files

do not include pthread when compiling without threading support



This fixes the following error, when compiling for systems without
pthread support, and when passing WITH_THREADING=no to make:

    thread_mosq.c:24:12: fatal error: pthread.h: No such file or directory
     #  include <pthread.h>
                 ^~~~~~~~~~~
    compilation terminated.

Signed-off-by: default avatarTitouan Christophe <titouan.christophe@railnova.eu>
parent 2fdb5a01
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment