Fix mstp on bsd port (#1193)
* fix mstp on macos NS_PER_S is 1s and 0ns * fix compile on freebsd * port bsd: add compile warnings and comments * port bsd: limit pthred prio to OS defined min/max value e.g. FreeBSD min=0 max=31 * port bsd: fix clangformat
This commit is contained in:
@@ -11,14 +11,16 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <sys/time.h>
|
||||
#include <errno.h>
|
||||
#include <time.h>
|
||||
/* BSD includes */
|
||||
#if defined(__APPLE__) || defined(__darwin__)
|
||||
#include <IOKit/serial/ioss.h>
|
||||
#else
|
||||
#include <sys/serial.h>
|
||||
#endif
|
||||
/* BACnet Stack defines - first */
|
||||
#include "bacnet/bacdef.h"
|
||||
/* BACnet Stack API */
|
||||
#include "bacnet/bacdef.h"
|
||||
#include "bacnet/bacaddr.h"
|
||||
#include "bacnet/npdu.h"
|
||||
#include "bacnet/datalink/mstp.h"
|
||||
|
||||
Reference in New Issue
Block a user