[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] poke: include <arpa/inet.h> doesn't exist on windows
From: |
Hannes Domani |
Subject: |
[PATCH] poke: include <arpa/inet.h> doesn't exist on windows |
Date: |
Thu, 15 Feb 2024 20:06:37 +0100 |
2024-02-15 Hannes Domani <ssbssa@yahoo.de>
* poke/poke.c: Don't include <arpa/inet.h> on windows.
---
poke/poke.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/poke/poke.c b/poke/poke.c
index 9f226960..eb765225 100644
--- a/poke/poke.c
+++ b/poke/poke.c
@@ -26,7 +26,9 @@
#include <locale.h>
#include <textstyle.h>
#include <assert.h>
+#ifndef _WIN32
#include <arpa/inet.h> /* For htonl */
+#endif
#ifdef HAVE_HSERVER
# include "pk-hserver.h"
--
2.35.1
- [PATCH] poke: include <arpa/inet.h> doesn't exist on windows,
Hannes Domani <=