aboutsummaryrefslogtreecommitdiff
path: root/internal/ceres/visibility.h
diff options
context:
space:
mode:
Diffstat (limited to 'internal/ceres/visibility.h')
-rw-r--r--internal/ceres/visibility.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/ceres/visibility.h b/internal/ceres/visibility.h
index 2d1e6f8..5ddd3a5 100644
--- a/internal/ceres/visibility.h
+++ b/internal/ceres/visibility.h
@@ -35,6 +35,9 @@
#ifndef CERES_INTERNAL_VISIBILITY_H_
#define CERES_INTERNAL_VISIBILITY_H_
+// This include must come before any #ifndef check on Ceres compile options.
+#include "ceres/internal/port.h"
+
#ifndef CERES_NO_SUITESPARSE
#include <set>