Skip to content

ml_utils.c: change use of c++11 posix standard function "gethostname"…

James Willenbring requested to merge prwolfe:correct_ml_utils_gethostname into develop

Created by: prwolfe

… to c99 standard "uname"

Since cmake interprets this as a c file by name it only pulls in posix functions from the 98 standard. That meant that "gethostname" was an implicit declaration and that fails when running with warnings-as-errors.

Merge request reports