gsocket: add G_IO_ERROR_CONNECTION_CLOSED
[platform/upstream/glib.git] / gio / tests / filter-cat.c
index d2b9f5c..320aebd 100644 (file)
@@ -13,9 +13,7 @@
  * Lesser General Public License for more details.
  *
  * You should have received a copy of the GNU Lesser General
- * Public License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
- * Boston, MA 02111-1307, USA.
+ * Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
  *
  * Author: Alexander Larsson <alexl@redhat.com>
  */
@@ -34,6 +32,7 @@
 #endif
 
 #ifdef G_OS_WIN32
+#include <io.h>
 #ifndef STDOUT_FILENO
 #define STDOUT_FILENO 1
 #endif