Skip to content

Commit e8fe95c

Browse files
Fix endianness issue on pylsqpack in s390x (#76)
* Fix endianness issue on pylsqpack in s390x * Fix testcase fail for inclusion of endian.h in windows systems * Missed closing #endif
1 parent 1a27f87 commit e8fe95c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lsqpack.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ SOFTWARE.
3939
#include <sys/types.h>
4040
#include <inttypes.h>
4141

42+
#ifndef WIN32
43+
#include <endian.h>
44+
#endif
45+
4246
#include "lsqpack.h"
4347
#include "lsxpack_header.h"
4448

0 commit comments

Comments
 (0)