[MacPorts] #62304: sudosh @1.6.3: error: implicit declaration of function 'gettimeofday' is invalid in C99

MacPorts noreply at macports.org
Thu May 20 14:26:38 UTC 2021


#62304: sudosh @1.6.3: error: implicit declaration of function 'gettimeofday' is
invalid in C99
--------------------------+-----------------------------
  Reporter:  cooljeanius  |      Owner:  (none)
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.6.4
Resolution:               |   Keywords:  bigsur catalina
      Port:  sudosh       |
--------------------------+-----------------------------

Comment (by cooljeanius):

 The header to include for `gettimeofday` is `<sys/time.h>`, for reference.

-- 
Ticket URL: <https://trac.macports.org/ticket/62304#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list