Mercurial > octave
diff liboctave/system/oct-syscalls.cc @ 21912:d92dcbcd7691
prefer C++ wrappers for C standard headers in C++ code
* Backend.cc, marker.cc, octave-interpreter.cc, mex.h, sqrtm.cc,
audiodevinfo.cc, lex.ll, oct-rand.cc, oct-syscalls.cc, sparse-util.cc:
Use C++ wrappers for C standard headers in C++ code.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 15 Jun 2016 12:59:43 -0400 |
parents | c66c156e1d1d |
children | ecfcc8527661 |
line wrap: on
line diff
--- a/liboctave/system/oct-syscalls.cc Wed Jun 15 13:51:00 2016 -0400 +++ b/liboctave/system/oct-syscalls.cc Wed Jun 15 12:59:43 2016 -0400 @@ -26,8 +26,7 @@ #include <cerrno> #include <cstdlib> - -#include <string.h> +#include <cstring> // We can't use csignal as kill is not in the std namespace, and picky // compiler runtimes will also exclude it from global scope as well.