diff options
author | Landry Breuil <landry@openbsd.org> | 2015-04-05 11:36:05 +0200 |
---|---|---|
committer | Landry Breuil <landry@openbsd.org> | 2015-04-05 11:36:05 +0200 |
commit | 3c5f259ca329befd3cbb6f54afa625140f96fe76 (patch) | |
tree | 4c77e34464ea0c473418e8198b1b78b8ae1976d9 /psutil/_psutil_posix.c | |
parent | d545b81973b7a0420aa68074e377cd73c428ae6a (diff) | |
download | psutil-3c5f259ca329befd3cbb6f54afa625140f96fe76.tar.gz |
need netdb.h on OpenBSD too for NI_* defines
Diffstat (limited to 'psutil/_psutil_posix.c')
-rw-r--r-- | psutil/_psutil_posix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/psutil/_psutil_posix.c b/psutil/_psutil_posix.c index 183dab0e..b5eabd79 100644 --- a/psutil/_psutil_posix.c +++ b/psutil/_psutil_posix.c @@ -19,7 +19,7 @@ #include <linux/if_packet.h> #endif // end linux -#if defined(__FreeBSD__) || defined(__APPLE__) +#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__APPLE__) #include <netdb.h> #include <netinet/in.h> #include <net/if_dl.h> |