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/prctl.h>
|
||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef __FreeBSD__
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <sys/wait.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
|
||||||
@@ -336,8 +340,8 @@ uint32_t htobe32(uint32_t value)
|
|||||||
}
|
}
|
||||||
|
|
||||||
uint32_t be32toh(uint32_t value)
|
uint32_t be32toh(uint32_t value)
|
||||||
{
|
{
|
||||||
return( _byteswap_ulong(value));
|
return( _byteswap_ulong(value));
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user