Skip to content

Commit

Permalink
MM Best Fit Plane - Fix missing include on GCC/Linux
Browse files Browse the repository at this point in the history
The code is failing to build on Linux with GCC, because it's missing the
"cstring" header, which the spec says it should use, but MSVC doesn't
care about.

https://en.cppreference.com/w/cpp/string/byte/strcmp
  • Loading branch information
david-cattermole committed Nov 28, 2024
1 parent 217a620 commit 830abba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mmSolver/cmd/MMBestFitPlaneCmd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@

// STL
#include <cassert>
#include <cstring>

// Maya
#include <maya/MArgDatabase.h>
Expand Down

0 comments on commit 830abba

Please sign in to comment.