mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
22 lines
474 B
Diff
22 lines
474 B
Diff
--- a/include/libisns/util.h
|
|
+++ b/include/libisns/util.h
|
|
@@ -100,7 +100,7 @@
|
|
* There's no htonll yet
|
|
*/
|
|
#ifndef htonll
|
|
-# ifdef __GLIBC__
|
|
+# ifdef __linux__
|
|
# include <endian.h>
|
|
# include <byteswap.h>
|
|
# if __BYTE_ORDER == __BIG_ENDIAN
|
|
--- a/include/libisns/isns.h
|
|
+++ b/include/libisns/isns.h
|
|
@@ -13,6 +13,7 @@
|
|
#include <sys/socket.h>
|
|
#include <netinet/in.h>
|
|
#include <stdio.h>
|
|
+#include <time.h>
|
|
|
|
#include <libisns/isns-proto.h>
|
|
#include <libisns/types.h>
|