sun_fc: Sun_fcAdapterCreateWWN.cc is missing unistd.h
lib - userland libraries
Build error from gcc 6:
../common/Sun_fcAdapterCreateWWN.cc: In function 'void get_random_bytes(HBA_UINT8*, std::size_t)': ../common/Sun_fcAdapterCreateWWN.cc:46:30: error: 'read' was not declared in this scope bytes = read(fd, ptr, resid); ^ ../common/Sun_fcAdapterCreateWWN.cc:50:11: error: 'close' was not declared in this scope close (fd); ^ *** Error code 1 dmake: Fatal error: Command failed for target `pics/Sun_fcAdapterCreateWWN.o'
Updated by Electric Monk over 6 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
commit 8edd08a7913c626678965a9c38207aeb6b544013 Author: Toomas Soome <email@example.com> Date: 2017-06-02T17:48:33.000Z 8289 sun_fc: Sun_fcAdapterCreateWWN.cc is missing unistd.h Reviewed by: Sebastian Wiedenroth <firstname.lastname@example.org> Reviewed by: Jason King <email@example.com> Reviewed by: Robert Mustacchi <firstname.lastname@example.org> Reviewed by: Alexander Pyhalov <email@example.com> Approved by: Richard Lowe <firstname.lastname@example.org>