summaryrefslogtreecommitdiff
path: root/src/lib/dev.c
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri.staessens@ugent.be>2017-11-09 09:07:11 +0100
committerSander Vrijders <sander.vrijders@ugent.be>2017-11-09 11:20:29 +0100
commit470c33a44d58e65a28979e016b1a4fc692da0503 (patch)
tree64a21342facd6c24b452a4c09657d4282b5dd4c6 /src/lib/dev.c
parent35c43358a110758090b48dd18628bb285ffddfc6 (diff)
downloadouroboros-470c33a44d58e65a28979e016b1a4fc692da0503.tar.gz
ouroboros-470c33a44d58e65a28979e016b1a4fc692da0503.zip
lib: Fix FRCT sequence number network endianness
Endianness conversion from/to the network for the sequence number was missing in 68694bc. Signed-off-by: Dimitri Staessens <dimitri.staessens@ugent.be> Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be>
Diffstat (limited to 'src/lib/dev.c')
-rw-r--r--src/lib/dev.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/dev.c b/src/lib/dev.c
index e80bf9f9..e2e864fc 100644
--- a/src/lib/dev.c
+++ b/src/lib/dev.c
@@ -20,6 +20,8 @@
* Foundation, Inc., http://www.fsf.org/about/contact/.
*/
+#include <ouroboros/endian.h>
+
#define _POSIX_C_SOURCE 200809L
#include "config.h"