mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Apply some missing clang-format changes
This commit is contained in:
parent
34694e67ea
commit
e63ea95664
4 changed files with 23 additions and 14 deletions
|
@ -21,12 +21,17 @@ enum IPFamily
|
|||
IPv6
|
||||
};
|
||||
|
||||
// Force these files to stay in this order. Normally, clang-format
|
||||
// wants to move sys/types.h to the end of this block, but that
|
||||
// breaks FreeBSD builds.
|
||||
// clang-format off
|
||||
#include <sys/types.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <assert.h>
|
||||
#include <netinet/in.h>
|
||||
#include <netinet/in_systm.h>
|
||||
#include <netinet/ip.h>
|
||||
// clang-format on
|
||||
#ifdef HAVE_LINUX
|
||||
#define __FAVOR_BSD
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue