cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: make error

From: Daniel Stenberg <Daniel.Stenberg_at_haxx.nu>
Date: Sat, 18 Mar 2000 21:59:09 +0100 (MET)

On Sat, 18 Mar 2000, Michi 'Witty' wrote:

> Here's the source of resource.h.

> extern int getpriority(int, id_t); /*<---------*/
> extern int setpriority(int, id_t, int);

It seems as if perhaps the typedef for the 2nd parameter to getpriority() is
the problem.

You could probably try 'man getpriority' and see if the man page specifies
what (other) includes files to include. My man pages tell me to include
<sys/resource.h> (Solaris 2) and <sys/time.h> plus <sys/resource.h> (Linux).
The latter two are both #included.

-- 
   Daniel Stenberg - http://www.contactor.se/~dast - +46-705-44 31 77
   ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol
Received on 2000-03-18