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:
@@ -36,14 +36,13 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "bacnet/bits.h"
|
||||
#include "bacnet/config.h"
|
||||
#include "bacnet/bacaddr.h"
|
||||
/* BACnet Stack defines - first */
|
||||
#include "bacnet/bacdef.h"
|
||||
/* BACnet Stack API */
|
||||
#include "bacnet/bacaddr.h"
|
||||
#include "bacnet/bacdcode.h"
|
||||
#include "bacnet/readrange.h"
|
||||
#include "bacnet/basic/binding/address.h"
|
||||
#include "bacnet/basic/binding/address.h"
|
||||
|
||||
/* we are likely compiling the demo command line tools if print enabled */
|
||||
#if !defined(BACNET_ADDRESS_CACHE_FILE)
|
||||
|
||||
@@ -27,8 +27,9 @@
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <stdbool.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/bacaddr.h"
|
||||
#include "bacnet/readrange.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user