Skip to content

Commit

Permalink
Changed strange import into include in C code.
Browse files Browse the repository at this point in the history
  • Loading branch information
mitar committed Nov 19, 2010
1 parent 49a1233 commit 3386974
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions NXT.cabal
@@ -1,5 +1,5 @@
Name: NXT
Version: 0.1.1
Version: 0.1.2
Synopsis: A Haskell interface to Lego Mindstorms NXT
Description: A Haskell interface to Lego Mindstorms NXT over Bluetoooth. It supports direct commands, messages and
many sensors (also unofficial). It has also support for a simple message-based control of a NXT brick
Expand Down Expand Up @@ -59,7 +59,7 @@ Executable nxt-shutdown
HS-source-dirs: src
Build-depends: base >= 4 && < 5,
mtl >= 1.1 && < 2,
NXT == 0.1.1
NXT == 0.1.2
GHC-options: -Wall

Executable nxt-upload
Expand All @@ -69,7 +69,7 @@ Executable nxt-upload
mtl >= 1.1 && < 2,
bytestring >= 0.9 && < 1,
filepath >= 1.1 && < 2,
NXT == 0.1.1
NXT == 0.1.2
GHC-options: -Wall
GHC-prof-options: -Wall
GHC-shared-options: -Wall
2 changes: 1 addition & 1 deletion ffi/initserial.c
@@ -1,7 +1,7 @@
#include <termios.h>
#include <unistd.h>

#import "initserial.h"
#include "initserial.h"

// A simple function which initializes serial port device: 8 bit data, one stop bit, RTS/CTS flow control

Expand Down

0 comments on commit 3386974

Please sign in to comment.