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