Skip to content

Commit

Permalink
Added right includes for fd_set to work
Browse files Browse the repository at this point in the history
  • Loading branch information
Pravez committed Apr 7, 2017
1 parent 1dd9bdc commit 269abe1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 0 additions & 3 deletions slave/daemon_i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
#include <unistd.h>
#include <string.h>
#include <fcntl.h>
#include <sys/select.h>
#include <sys/types.h>


#include "daemon.h"
#include "i2cslave.h"
Expand Down
2 changes: 2 additions & 0 deletions slave/i2cslave.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
#define SLAVE_I2CSLAVE_H

#include "commands.h"
#include <sys/select.h>
#include <sys/types.h>

#define TX_BUF_SIZE 10

Expand Down

0 comments on commit 269abe1

Please sign in to comment.