Fix compilation warning/errors for OpenWrt
In lib-resultreader and Positioner.
This commit is contained in:
parent
f9fffd4a9e
commit
2a23e31a28
|
@ -41,6 +41,9 @@
|
|||
*/
|
||||
|
||||
|
||||
#define _GNU_SOURCE // for strndup()
|
||||
|
||||
|
||||
#include "owlps-resultreader.h"
|
||||
|
||||
#include <string.h>
|
||||
|
|
|
@ -17,7 +17,7 @@ TESTSCXXFLAGS = -I$(TESTS_DIR) -I$(SRC_DIR) -I.
|
|||
|
||||
## Additional libraries ##
|
||||
|
||||
LDFLAGS += -lstdc++ -lm -lboost_program_options -lowlps
|
||||
LDFLAGS += -lstdc++ -lm -lboost_program_options -pthread -lowlps
|
||||
OS := $(shell uname)
|
||||
ifeq "$(OS)" "Linux"
|
||||
LDFLAGS += -lrt
|
||||
|
|
|
@ -46,6 +46,7 @@ class Measurement ;
|
|||
|
||||
#include <boost/tr1/unordered_map.hpp>
|
||||
#include <boost/algorithm/string/case_conv.hpp>
|
||||
#include <stdint.h> // <cstdint> is not C++ 98 compliant
|
||||
|
||||
/// Utilitary class
|
||||
class PosUtil
|
||||
|
|
Loading…
Reference in New Issue