--- texk/lcdf-typetools/libefont/cff.cc.orig
+++ texk/lcdf-typetools/libefont/cff.cc
@@ -27,6 +27,7 @@
 #include <ctype.h>
 #include <efont/t1unparser.hh>
 
+#undef static_assert
 #ifndef static_assert
 #define static_assert(c) switch (c) case 0: case (c):
 #endif
--- texk/lcdf-typetools/libefont/t1interp.cc.orig
+++ texk/lcdf-typetools/libefont/t1interp.cc
@@ -30,6 +30,7 @@
 #define CHECK_PATH_START()	do { _state = S_PATH; } while (0)
 #define CHECK_PATH_END()	do { if (_state == S_PATH) { act_closepath(cmd); } _state = S_IPATH; } while (0)
 
+#undef static_assert
 #ifndef static_assert
 # define static_assert(c)	switch (c) case 0: case (c):
 #endif
--- texk/dvisvgm/dvisvgm-1.0.11/src/FileFinder.cpp.orig
+++ texk/dvisvgm/dvisvgm-1.0.11/src/FileFinder.cpp
@@ -18,6 +18,7 @@
 ** along with this program; if not, see <http://www.gnu.org/licenses/>. **
 *************************************************************************/
 
+#include <sys/time.h>
 #include <cstdlib>
 #include <fstream>
 #include <map>
--- texk/dvisvgm/dvisvgm-1.0.11/src/Message.cpp.orig
+++ texk/dvisvgm/dvisvgm-1.0.11/src/Message.cpp
@@ -18,6 +18,7 @@
 ** along with this program; if not, see <http://www.gnu.org/licenses/>. **
 *************************************************************************/
 
+#include <sys/time.h>
 #include <cstdarg>
 #include <cstdlib>
 #include <cstring>
--- texk/dvisvgm/dvisvgm-1.0.11/src/Font.cpp.orig
+++ texk/dvisvgm/dvisvgm-1.0.11/src/Font.cpp
@@ -18,6 +18,7 @@
 ** along with this program; if not, see <http://www.gnu.org/licenses/>. **
 *************************************************************************/
 
+#include <sys/time.h>
 #include <cstdlib>
 #include <iostream>
 #include <fstream>
--- texk/dvisvgm/dvisvgm-1.0.11/src/FontEncoding.cpp.orig
+++ texk/dvisvgm/dvisvgm-1.0.11/src/FontEncoding.cpp
@@ -18,6 +18,7 @@
 ** along with this program; if not, see <http://www.gnu.org/licenses/>. **
 *************************************************************************/
 
+#include <sys/time.h>
 #include <fstream>
 #include "Font.h"
 #include "FontEncoding.h"
