mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Fix utils.cpp for FreeBSD.
This commit is contained in:
@@ -4,6 +4,10 @@
|
||||
#include <sys/prctl.h>
|
||||
#include <sys/wait.h>
|
||||
#endif
|
||||
#ifdef __FreeBSD__
|
||||
#include <sys/types.h>
|
||||
#include <sys/wait.h>
|
||||
#endif
|
||||
|
||||
#include <fstream>
|
||||
|
||||
@@ -336,8 +340,8 @@ uint32_t htobe32(uint32_t value)
|
||||
}
|
||||
|
||||
uint32_t be32toh(uint32_t value)
|
||||
{
|
||||
return( _byteswap_ulong(value));
|
||||
{
|
||||
return( _byteswap_ulong(value));
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user