tests/testdnd2.c: Don't include unistd.h unconditionally
authorChun-wei Fan <fanchunwei@src.gnome.org>
Thu, 30 Jan 2020 14:34:53 +0000 (22:34 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Mon, 3 Feb 2020 09:18:36 +0000 (17:18 +0800)
commitf2915180a6a09c10f38aed15b4aefeaa86fe12fc
tree043cfdaa65951527ba9ad263d4dd5fd2bb01b159
parente7f2833703d165c117c03e1d91cc2c5fefe58181
tests/testdnd2.c: Don't include unistd.h unconditionally

Instead, on Windows when it is not available, include io.h for close()
tests/testdnd2.c