From 61bbe883078e226dce7a3f25ac69d2354c39c149 Mon Sep 17 00:00:00 2001 From: david Date: Tue, 6 Aug 2013 01:35:33 +0000 Subject: [PATCH] Include "nbase.h" for __attribute__ define on Windows. I needed this on Visual C++ 2010 on Windows XP. --- nsock/src/error.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nsock/src/error.h b/nsock/src/error.h index 20734c147..a8028764a 100644 --- a/nsock/src/error.h +++ b/nsock/src/error.h @@ -59,6 +59,8 @@ #ifndef ERROR_H #define ERROR_H +#include "nbase.h" + void fatal(char *fmt, ...) __attribute__ ((noreturn)) __attribute__ ((format (printf, 1, 2)));