summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorAndreas Rumpf <andreas@andreas-desktop>2010-01-14 00:05:02 +0100
committerAndreas Rumpf <andreas@andreas-desktop>2010-01-14 00:05:02 +0100
commit324b1e9d21d10fa62dcff6b2ab32d4325346dd0e (patch)
tree335daef14a8fda42b7b83d9679e790384b4b9b6d /lib
parentfb2ae12c4969d41fbb0857a0b9121ad947807a1e (diff)
downloadNim-324b1e9d21d10fa62dcff6b2ab32d4325346dd0e.tar.gz
bugfix: fd_set mustn't be prefixed with struct
Diffstat (limited to 'lib')
-rwxr-xr-xlib/impure/db_postgres.nim2
-rwxr-xr-xlib/posix/posix.nim2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/impure/db_postgres.nim b/lib/impure/db_postgres.nim
index 7cd93a540..25a04ed8e 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 005b6dbe0..6bda372bb 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: "<sys/select.h>", 
+  Tfd_set* {.importc: "fd_set", header: "<sys/select.h>", 
              final, pure.} = object
   Tmcontext* {.importc: "mcontext_t", header: "<ucontext.h>", 
                final, pure.} = object