Skip to content

Commit 3cc21b5

Browse files
committed
fix OSX build
1 parent 27fb875 commit 3cc21b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

torch/csrc/utils/python_strings.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
#include <Python.h>
44
#include <stdexcept>
5+
#include <string>
56
#include "object_ptr.h"
67

78
// Utilities for handling Python strings. Note that PyString, when defined, is

0 commit comments

Comments
 (0)