Skip to content

Commit

Permalink
Android compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Rudloff committed Jun 22, 2016
1 parent 978b673 commit e287004
Show file tree
Hide file tree
Showing 4 changed files with 659 additions and 0 deletions.
3 changes: 3 additions & 0 deletions psutil/_psutil_posix.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@

#ifdef PSUTIL_SUNOS10
#include "arch/solaris/v10/ifaddrs.h"
#elif defined(__BIONIC__)
#include "arch/android/ifaddrs.h"
#include <netinet/in.h>
#else
#include <ifaddrs.h>
#endif
Expand Down
Loading

0 comments on commit e287004

Please sign in to comment.