aboutsummaryrefslogtreecommitdiff
path: root/maple
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-11-28 10:18:47 +0000
committerFuwn <[email protected]>2025-11-28 10:18:47 +0000
commit2a6888179e4d0de3fc8783ad2b8f0ee2373b1593 (patch)
tree33b6517b97307a94c053183e82229cdbea96705d /maple
parentchore(flake): replace clang stdenv with clang without libraries (diff)
downloadarchived-maple-2a6888179e4d0de3fc8783ad2b8f0ee2373b1593.tar.xz
archived-maple-2a6888179e4d0de3fc8783ad2b8f0ee2373b1593.zip
chore: Support macOS
Diffstat (limited to 'maple')
-rw-r--r--maple/maple.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/maple/maple.cc b/maple/maple.cc
index 85ec862..1a1ba5c 100644
--- a/maple/maple.cc
+++ b/maple/maple.cc
@@ -20,7 +20,6 @@
#include <algorithm>
#include <array>
-#include <asm-generic/socket.h>
#include <cctype>
#include <csignal>
#include <cstddef>
@@ -37,6 +36,10 @@
#include <unistd.h>
#include <vector>
+#if !defined(__APPLE__)
+#include <asm-generic/socket.h>
+#endif
+
#include "gemini.hh"
#include "maple.hh"
#include "titan.hh"