aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/lib/core/numpy.h
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/python/lib/core/numpy.h')
-rw-r--r--tensorflow/python/lib/core/numpy.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tensorflow/python/lib/core/numpy.h b/tensorflow/python/lib/core/numpy.h
index d4621d61ee..0098d938a0 100644
--- a/tensorflow/python/lib/core/numpy.h
+++ b/tensorflow/python/lib/core/numpy.h
@@ -30,9 +30,10 @@ limitations under the License.
#endif
// Place `<locale>` before <Python.h> to avoid build failure in macOS.
-#include <Python.h>
#include <locale>
+#include <Python.h>
+
#include "numpy/arrayobject.h"
#include "numpy/ufuncobject.h"