mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
23 lines
493 B
Plaintext
23 lines
493 B
Plaintext
From e503c592345c27940cc32e8ce6fdffdb6e6c626e Mon Sep 17 00:00:00 2001
|
|
From: Begasus <begasus@gmail.com>
|
|
Date: Sat, 9 Dec 2023 09:25:08 +0100
|
|
Subject: Haiku build fix
|
|
|
|
|
|
diff --git a/pcaplite.h b/pcaplite.h
|
|
index 8a48153..1f435e3 100644
|
|
--- a/pcaplite.h
|
|
+++ b/pcaplite.h
|
|
@@ -2,7 +2,7 @@
|
|
#define PCAPLITE_H
|
|
|
|
#include <stdio.h>
|
|
-#if defined(unix) || defined __APPLE__
|
|
+#if defined(unix) || defined __APPLE__ || defined __HAIKU__
|
|
#include <sys/time.h>
|
|
#else
|
|
#include <winsock.h>
|
|
--
|
|
2.42.1
|
|
|