You can replace pread with an lseek and a read, I think.
On Tue, Aug 6, 2013 at 8:33 AM, Anders Broman <[email protected]> wrote: > Hi, > > It’s a managed box so I can’t alter its content glibc-2.9-13.3.1 > > > > From: [email protected] > [mailto:[email protected]] On Behalf Of Evan Huus > Sent: den 6 augusti 2013 14:04 > To: Developer support list for Wireshark > Subject: Re: [Wireshark-dev] On SLES 11 app_mem_usage.c:105: error: implicit > declaration of function 'pread' > > > > http://linux.die.net/man/2/pread > > > > Make sure you have the necessary includes and a new enough libc? > > > On 2013-08-06, at 7:29 AM, Anders Broman <[email protected]> wrote: > > Hi, > > I get: > > app_mem_usage.c: In function ‘inux_get_memory’: > > app_mem_usage.c:105: error: implicit declaration of function ‘pread’ > > Building on SLES11 any ideas? > > > > Regards > > Anders > > ___________________________________________________________________________ > Sent via: Wireshark-dev mailing list <[email protected]> > Archives: http://www.wireshark.org/lists/wireshark-dev > Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev > mailto:[email protected]?subject=unsubscribe > > > ___________________________________________________________________________ > Sent via: Wireshark-dev mailing list <[email protected]> > Archives: http://www.wireshark.org/lists/wireshark-dev > Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev > mailto:[email protected]?subject=unsubscribe ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <[email protected]> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:[email protected]?subject=unsubscribe
