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:
Steve Karg
2024-03-15 16:58:52 -05:00
committed by GitHub
parent 78f7340266
commit 1520f2c612
448 changed files with 1549 additions and 1506 deletions
+5 -4
View File
@@ -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))