Skip to content

Commit

Permalink
rpi fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
armadillu committed Jul 14, 2016
1 parent f48ebc3 commit a5548b8
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 13 deletions.
6 changes: 5 additions & 1 deletion .gitignore
@@ -1 +1,5 @@
OSX Client/src/GitCommitNumber.h
OSX Client/src/GitCommitNumber.h

#Linux
.AppleDouble

12 changes: 0 additions & 12 deletions src/ofxRemoteUI.cpp
Expand Up @@ -12,18 +12,6 @@
#include "uriencode.h"
#include <sstream>

#if !defined(__APPLE__) && !defined(_WIN32)
#ifndef __linux__
#define __linux__
#endif
#endif

#if defined(__APPLE__) || defined(__linux__)
#include <arpa/inet.h>
#include <net/if.h>
#include <ifaddrs.h>
#include <errno.h>
#endif

#ifdef _WIN32
#include <windows.h>
Expand Down
14 changes: 14 additions & 0 deletions src/ofxRemoteUI.h
Expand Up @@ -16,6 +16,20 @@
#include <vector>
#include <map>

#if !defined(__APPLE__) && !defined(_WIN32)
#ifndef __linux__
#define __linux__
#endif
#endif

#if defined(__APPLE__) || defined(__linux__)
#include <arpa/inet.h>
#include <net/if.h>
#include <ifaddrs.h>
#include <errno.h>
#endif


#if __cplusplus>=201103L || defined(_MSC_VER)
#include <unordered_map>
#include <memory>
Expand Down

0 comments on commit a5548b8

Please sign in to comment.