From 324b1e9d21d10fa62dcff6b2ab32d4325346dd0e Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Thu, 14 Jan 2010 00:05:02 +0100 Subject: [PATCH] bugfix: fd_set mustn't be prefixed with struct --- lib/impure/db_postgres.nim | 2 +- lib/posix/posix.nim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/impure/db_postgres.nim b/lib/impure/db_postgres.nim index 7cd93a5404..25a04ed8e2 100755 --- a/lib/impure/db_postgres.nim +++ b/lib/impure/db_postgres.nim @@ -1,5 +1,5 @@ # Nimrod PostgreSQL database wrapper -# (c) 2009 Andreas Rumpf +# (c) 2010 Andreas Rumpf import strutils, postgres diff --git a/lib/posix/posix.nim b/lib/posix/posix.nim index 005b6dbe0e..6bda372bb5 100755 --- a/lib/posix/posix.nim +++ b/lib/posix/posix.nim @@ -372,7 +372,7 @@ type final, pure.} = object ## struct timeval tv_sec*: int ## Seconds. tv_usec*: int ## Microseconds. - Tfd_set* {.importc: "struct fd_set", header: "", + Tfd_set* {.importc: "fd_set", header: "", final, pure.} = object Tmcontext* {.importc: "mcontext_t", header: "", final, pure.} = object