aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2018-11-28 04:01:06 +0800
committerMark Linimon <linimon@FreeBSD.org>2018-11-28 04:01:06 +0800
commit9ac682b64bd8bb8312015ce88d7235d78c6ab027 (patch)
treef7ee73bed6c1f8a9933793d86a40a4801bbdb23b /games
parent44cdabb6a7b02c903606752e54224c861015711b (diff)
downloadfreebsd-ports-gnome-9ac682b64bd8bb8312015ce88d7235d78c6ab027.tar.gz
freebsd-ports-gnome-9ac682b64bd8bb8312015ce88d7235d78c6ab027.tar.zst
freebsd-ports-gnome-9ac682b64bd8bb8312015ce88d7235d78c6ab027.zip
- <sys/limits.h> is not in POSIX unlike <limits.h>
- "ai.h" doesn't need the fix unlike ai.cpp, so move both below Reported by: jbeich Approved by: portmgr (tier-2 blanket)
Diffstat (limited to 'games')
-rw-r--r--games/blokish/files/patch-src_ai.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/blokish/files/patch-src_ai.cpp b/games/blokish/files/patch-src_ai.cpp
index 42cb0cfebcd3..6f2c72a13a90 100644
--- a/games/blokish/files/patch-src_ai.cpp
+++ b/games/blokish/files/patch-src_ai.cpp
@@ -4,8 +4,8 @@
/* This file is contains the AI logic.
*/
+ #include "ai.h"
+#include <algorithm>
+#include <sys/limits.h>
- #include "ai.h"
AI::AI(BlokishBoard &board)