Project

General

Profile

Actions

Bug #8289

closed

sun_fc: Sun_fcAdapterCreateWWN.cc is missing unistd.h

Added by Toomas Soome over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
2017-05-28
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
External Bug:

Description

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'
Actions #1

Updated by Electric Monk over 6 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

git commit 8edd08a7913c626678965a9c38207aeb6b544013

commit  8edd08a7913c626678965a9c38207aeb6b544013
Author: Toomas Soome <tsoome@me.com>
Date:   2017-06-02T17:48:33.000Z

    8289 sun_fc: Sun_fcAdapterCreateWWN.cc is missing unistd.h
    Reviewed by: Sebastian Wiedenroth <wiedi@frubar.net>
    Reviewed by: Jason King <jason.brian.king@gmail.com>
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Reviewed by: Alexander Pyhalov <alp@rsu.ru>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Actions

Also available in: Atom PDF