[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #28286 [Core Tor/Tor]: Missing header in freespace.c when building for Android



#28286: Missing header in freespace.c when building for Android
--------------------------------+------------------------------
 Reporter:  goapunk             |          Owner:  (none)
     Type:  defect              |         Status:  new
 Priority:  Medium              |      Component:  Core Tor/Tor
  Version:  Tor: 0.3.5.3-alpha  |       Severity:  Normal
 Keywords:                      |  Actual Points:
Parent ID:                      |         Points:
 Reviewer:                      |        Sponsor:
--------------------------------+------------------------------
 Building tor 0.3.5.3-alpha for Android fails with the following error:
 {{{
 src/lib/fs/freespace.c: In function 'tor_get_avail_disk_space':
 src/lib/fs/freespace.c:59:3: error: 'errno' undeclared (first use in this
 function)
    errno = ENOSYS;
    ^
 src/lib/fs/freespace.c:59:3: note: each undeclared identifier is reported
 only once for each function it appears in
 src/lib/fs/freespace.c:59:11: error: 'ENOSYS' undeclared (first use in
 this function)
    errno = ENOSYS;
            ^
 Makefile:9088: recipe for target 'src/lib/fs/freespace.o' failed
 }}}

 On Android <errno.h> should be included in the header.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28286>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs