Menu

#14 src/SerialPort.cpp misses some header inclusions

open
nobody
None
5
2013-05-29
2013-05-29
No

Compiling src/SerialPort.cpp with -Wall -Werror raises some errors about standard libc functions not being defined in that scope.

This is due to som headers not being included in that file: sys/types.h sys/stat.h unistd.h.

Including them at the top fixes the issue.

Discussion


Log in to post a comment.