<sys/un.h>: Stop including <sys/file.h>.
authorSascha Wildner <saw@online.de>
Sat, 6 May 2017 18:33:18 +0000 (20:33 +0200)
committerSascha Wildner <saw@online.de>
Sat, 6 May 2017 18:33:18 +0000 (20:33 +0200)
commit22c1d6caed6663b95a38d1a1979a4e539fa95413
tree1f7ec5ee06a830ddff6299dff0a55fe817d37c7a
parenta7a95252afec8bfcc34ee5b8725136b17b77043f
<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>.
sys/netgraph7/ksocket/ng_ksocket.c
sys/sys/un.h