Skip to content

Commit

Permalink
Merge pull request contiki-os#203 from mmuman/cleanup-and-fixes-002
Browse files Browse the repository at this point in the history
Cleanup and fixes 002
  • Loading branch information
oliverschmidt committed Apr 22, 2013
2 parents 424a7b2 + 95eb505 commit 96e85cc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions apps/program-handler/program-handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
#include "contiki.h"
#include "ctk/ctk.h"
#include "ctk/ctk-draw.h"
#include "sys/log.h"

#include "program-handler.h"

Expand Down
2 changes: 1 addition & 1 deletion cpu/native/net/tapdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ tapdev_init(void)
memset(&ifr, 0, sizeof(ifr));
ifr.ifr_flags = IFF_TAP|IFF_NO_PI;
if (ioctl(fd, TUNSETIFF, (void *) &ifr) < 0) {
perror(buf);
perror("ioctl(TUNSETIFF)");
exit(1);
}
}
Expand Down
4 changes: 4 additions & 0 deletions platform/win32/contiki-conf.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#ifndef __CONTIKI_CONF_H__
#define __CONTIKI_CONF_H__

#ifdef __CYGWIN__
#include <sys/types.h>
#endif

#define CC_CONF_REGISTER_ARGS 1
#define CC_CONF_FASTCALL __fastcall
#define CC_CONF_INLINE __inline
Expand Down

0 comments on commit 96e85cc

Please sign in to comment.