Add core stack headers into bacdef.h and cleanup includes. (#602)
* Added dependent BACnet stack headers into bacdef.h file. * Changed bacdef.h and other stack includes in c/h files to have a common pattern. * Moved bits.h, bytes.h, and bacnet_stack_exports.h under bacnet/basic/sys/ folder.
This commit is contained in:
+5
-4
@@ -41,13 +41,14 @@
|
||||
#include <errno.h>
|
||||
#include <time.h>
|
||||
#include <ctype.h>
|
||||
/* OS specific include*/
|
||||
#include "bacport.h"
|
||||
/* local includes */
|
||||
#include "bacnet/bytes.h"
|
||||
/* BACnet Stack defines - first */
|
||||
#include "bacnet/bacdef.h"
|
||||
/* BACnet Stack API */
|
||||
#include "bacnet/basic/sys/mstimer.h"
|
||||
#include "bacnet/datalink/crc.h"
|
||||
#include "bacnet/version.h"
|
||||
/* OS specific include*/
|
||||
#include "bacport.h"
|
||||
|
||||
#ifndef max
|
||||
#define max(a, b) (((a)(b)) ? (a) : (b))
|
||||
|
||||
Reference in New Issue
Block a user