small changes to get coreclr building on FreeBSD again (#14964)
[platform/upstream/coreclr.git] / src / gc / unix / cgroup.cpp
index 992678b..9dc0947 100644 (file)
@@ -11,6 +11,10 @@ Module Name:
 Abstract:
     Read memory and cpu limits for the current process
 --*/
+#ifdef __FreeBSD__
+#define _WITH_GETLINE
+#endif
+
 #include <cstdint>
 #include <cstddef>
 #include <cassert>