robert@sri-spam.UUCP (03/24/87)
I am writing a program to run on Sun 2 & 3 computers, primarily under the Sun 3.3 OS. In general, I have a problem in that I am including 1 system .h file, which references a "struct iovec", which is defined in another system .h file. The problem I'm having is that lint is complaining about "undefined struct iovec". Initially I tried including the second .h file which defined "struct iovec", but now I have other complaints about undefined types. Rather than include the entire tree of .h files to solve this problem, I'd like to know if there is some way of dealing with lint, or with .h files, or anyway of still being told about undefined or undeclared names in my code, without worrying about undefined names in system include files. I do not want to use the '-z' lint option since it wouldn't tell me about undefined variables in my own code. Thanks in advance. -- --------------------------------------------------------- Glover (upon discovering that Gibson is his new partner): "God hates me, that's what the problem is!" Gibson (blowing cigarette smoke out his nose): "Hate 'em back, it works for me!" Gibson (later in the film, with handgun): "PUNTA, PUNTA, PUNTA!!" Robert Allen, robert@spam.istc.sri.com ---------------------------------------------------------