pipe-loader: Include unistd.h in pipe_loader_drm.c for close function.
authorVinson Lee <vlee@freedesktop.org>
Sat, 6 Sep 2014 22:53:55 +0000 (15:53 -0700)
committerVinson Lee <vlee@freedesktop.org>
Wed, 10 Sep 2014 18:59:38 +0000 (11:59 -0700)
commitcc20c45a365cf18e58aa26fed615a496cbf73c70
tree58c54e9d7b127a1d34c1a5f536b4930f720b6707
parent0bac2551e40410e2251daf4fd9faf69310ab34ce
pipe-loader: Include unistd.h in pipe_loader_drm.c for close function.

This patch fixes a build error on DragonFly.

  CC       libpipe_loader_la-pipe_loader_drm.lo
pipe_loader_drm.c: In function 'pipe_loader_drm_probe':
pipe_loader_drm.c:207:10: error: implicit declaration of function 'close' [-Werror=implicit-function-declaration]

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c