git: <sys/un.h>: Stop including <sys/file.h>.

Sascha Wildner swildner at crater.dragonflybsd.org
Sat May 6 11:35:04 PDT 2017


commit 22c1d6caed6663b95a38d1a1979a4e539fa95413
Author: Sascha Wildner <saw at online.de>
Date:   Sat May 6 20:33:18 2017 +0200

    <sys/un.h>: Stop including <sys/file.h>.
    
    It is no longer needed since f635d1746140d0f4915af3adb8314f4759377d3b.
    
    While here, remove a forward declaration of struct sockopt (no longer
    needed since 002c1265bf9676475d08e73e8d873cea9ee4a82e) and adjust a
    bit of whitespace.
    
    Also adjust ng_ksocket.c where DragonFly specific code was assuming
    that including <sys/un.h> would bring in <sys/fcntl.h>.

Summary of changes:
 sys/netgraph7/ksocket/ng_ksocket.c | 1 +
 sys/sys/un.h                       | 7 +------
 2 files changed, 2 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/22c1d6caed6663b95a38d1a1979a4e539fa95413


-- 
DragonFly BSD source repository


More information about the Commits mailing list