8289 sun_fc: Sun_fcAdapterCreateWWN.cc is missing unistd.h

Review Request #538 - Created May 28, 2017 and submitted

Information
Toomas Soome
illumos-gate
8289
19f35c0...
Reviewers
general
../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'

  
Sebastian Wiedenroth
Jason King
Robert Mustacchi
Alexander Pyhalov
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...