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

misc.h and strlen?



Working with an application that uses rpm's misc.h, getting the following error
message:

/usr/include/rpm/misc.h: In function `char *stripTrailingChar (char *, char)':
/usr/include/rpm/misc.h:41: `strlen' undeclared (first use this function)
/usr/include/rpm/misc.h:41: (Each undeclared identifier is reported

Since misc.h needs strlen, shouldn't it #include <string.h>?

-- 
Bob Tanner <tanner@real-time.com>         | Phone : (952)943-8700
http://www.mn-linux.org, Minnesota, Linux | Fax   : (952)943-8500
http://www.tcwug.org, Minnesota, Wireless | Coding isn't a crime. 
Key fingerprint =  6C E9 51 4F D5 3E 4C 66 62 A9 10 E5 35 85 39 D9 





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