summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fl_write_png.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fl_write_png.cxx b/src/fl_write_png.cxx
index 45e4da7ac..6d9c7fe89 100644
--- a/src/fl_write_png.cxx
+++ b/src/fl_write_png.cxx
@@ -20,6 +20,7 @@
#include <FL/fl_string.h>
#include <FL/fl_utf8.h> // fl_fopen()
#include <stdio.h>
+#include <time.h> // hack to restore "configure --enable-x11" on macOS ≥ 11
// PNG library include files