fbterm: fix musl compile
authorPeter Seiderer <ps.report@gmx.net>
Thu, 8 Oct 2015 18:35:02 +0000 (20:35 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 10 Oct 2015 09:37:13 +0000 (11:37 +0200)
commitaa85304df598b1fa82a85abc4d68112d3ba87cd0
tree93c1f870de87a9108a48b45d422f141f1dcd08b0
parent2d7c0f4838062a98a09a70a0c84ea61abc879dc8
fbterm: fix musl compile

- add missing include, fixes:

  fbio.cpp:33:8: error: ‘fd_set’ does not name a type
   static fd_set fds;

  improxy.cpp:439:3: error: ‘fd_set’ was not declared in this scope

- add missing WAIT_ANY define, fixes:

  fbterm.cpp: In member function ‘void FbTerm::processSignal(u32)’:
  fbterm.cpp:212:22: error: ‘WAIT_ANY’ was not declared in this scope
      s32 pid = waitpid(WAIT_ANY, 0, WNOHANG);

Fixes:
http://autobuild.buildroot.net/results/ab2/ab2334700b44bac233994b76f2acf1795f0

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/fbterm/0001-fbio.cpp-improxy.cpp-fbterm.cpp-fix-musl-compile.patch [new file with mode: 0644]