Skip to content

Commit

Permalink
Remove ThreadPool.h inclusion in upnpdebug.h
Browse files Browse the repository at this point in the history
ThreadPool.h is now a private header which is not installed so remove
this header from upnpdebug.h otherwise an external application which
includes upnpdebug.h will crash

Also add LinkedList.h to service_table.h as it was included by
ThreadPool.h in upnpdebug.h

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
  • Loading branch information
ffontaine committed Nov 18, 2017
1 parent d767e99 commit 9220f76
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion upnp/inc/upnpdebug.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
* \file
*/

#include "ThreadPool.h"
#include "upnpconfig.h"
#include "UpnpGlobal.h" /* for UPNP_INLINE */

Expand Down
1 change: 1 addition & 0 deletions upnp/src/inc/service_table.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ extern "C" {
#include "ixml.h"
#include "upnp.h"
#include "upnpdebug.h"
#include "LinkedList.h"

#include <stdio.h>
#include <time.h>
Expand Down

0 comments on commit 9220f76

Please sign in to comment.