Fix build on 7.4-RELEASE

Note that 7.4-STABLE after log2() and log2f() were MFC'd is still broken
due to conflicting definitions of these functions (no __FreeBSD_version bump).
Submitted by:	pointyhat via pav
This commit is contained in:
Rene Ladan 2012-04-30 08:14:30 +00:00
parent 35ff5b0667
commit 3e42e849ec
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=295713

View file

@ -0,0 +1,10 @@
--- third_party/ots/include/opentype-sanitiser.h.orig 2012-04-12 09:04:04.000000000 +0200
+++ third_party/ots/include/opentype-sanitiser.h 2012-04-29 22:09:44.000000000 +0200
@@ -22,6 +22,7 @@
#else
#include <arpa/inet.h>
#include <stdint.h>
+#include <sys/types.h>
#endif
#include <algorithm> // for std::min