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:
@@ -28,11 +28,10 @@
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
#include "bacnet/bacdef.h" /* Must be before all other bacnet *.h files */
|
||||
#include "bacnet/bacnet_stack_exports.h"
|
||||
/* BACnet Stack defines - first */
|
||||
#include "bacnet/bacdef.h"
|
||||
/* BACnet Stack API */
|
||||
#include "bacnet/bacint.h"
|
||||
#include "bacnet/bacenum.h"
|
||||
#include "bacnet/basic/sys/platform.h"
|
||||
|
||||
typedef struct BACnetDeviceObjectPropertyReference {
|
||||
/* number type first to avoid enum cast warning on = { 0 } */
|
||||
|
||||
Reference in New Issue
Block a user