13 Sep
                
                    2010
                
            
            
                13 Sep
                
                '10
                
            
            
            
        
    
                7:31 p.m.
            
        running find and starting in / , this was the only instance of the file located on the system.
/usr/include/sys/mntent.h
Jerry
On 09/13/10 10:42, Timo Sirainen wrote:
On Mon, 2010-09-13 at 10:30 -0500, Jerry Kemp wrote:
v120 /usr/local/src/d/dovecot-2.0.2 468 # echo "#include <mntent.h>"|gcc -c -x c -
I'd still like to know why this works. Is this something that's happening with other people's systems as well, or is something broken in your Solaris? Do you have mntent.h elsewhere than under sys/?
The expected reply to that command is:
% echo "#include <mntent.h>"|gcc -c -x c - <stdin>:1:20: mntent.h: No such file or directory