[vox-tech] time.h in Solaris

Bill Broadley bill at broadley.org
Wed Mar 24 00:27:31 PDT 2010


Hai Yi wrote:
> Hello, I am on a project that migrates applications from Solaris to
> Linux; most are Java but one is in C++. There is a log class including
> a <time.h>, its a system header file in Solaris (might be in
> /usr/include, I don't remember), the question is, do we have a Linux
> counterpart? How can I handle this during the porting process?

Depending on the flavor of linux you need one of these packages:

$ dpkg -S /usr/include/time.h
libc6-dev: /usr/include/time.h
$ rpm -qf /usr/include/time.h
glibc-headers-2.5-42.el5_4.3



More information about the vox-tech mailing list