8289 sun_fc: Sun_fcAdapterCreateWWN.cc is missing unistd.h

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

tsoome
illumos-gate
8289
19f35c0...
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'


wiedi
  1. Ship It!
  2. 
      
jbk
  1. Ship It!
  2. 
      
rm
  1. Ship It!
  2. 
      
alp
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...