Mercurial > minori
comparison dep/animia/src/fd/bsd.cc @ 140:1e696863b54c
dep/animia: remove superfluous includes
#include <windows.h> in the main file LMFAO
| author | Paper <mrpapersonic@gmail.com> |
|---|---|
| date | Sun, 12 Nov 2023 16:54:58 -0500 |
| parents | 478f3b366199 |
| children | 4e750f6545cf |
comparison
equal
deleted
inserted
replaced
| 139:478f3b366199 | 140:1e696863b54c |
|---|---|
| 1 /** | 1 /** |
| 2 * fd/bsd.cpp | 2 * fd/bsd.cpp |
| 3 * - this ONLY* supports OS X as of now | 3 * - this ONLY* supports OS X as of now |
| 4 * (*there is some FreeBSD support code) | 4 * (*there is some FreeBSD support code) |
| 5 **/ | 5 **/ |
| 6 #include <fcntl.h> | 6 #include <unordered_map> |
| 7 #include <vector> | |
| 7 #include <iostream> | 8 #include <iostream> |
| 8 #include <string> | 9 #include <string> |
| 10 | |
| 11 #include <fcntl.h> | |
| 9 #include <sys/sysctl.h> | 12 #include <sys/sysctl.h> |
| 10 #include <sys/types.h> | 13 #include <sys/types.h> |
| 11 #include <sys/user.h> | 14 #include <sys/user.h> |
| 12 #include <unordered_map> | 15 |
| 13 #include <vector> | |
| 14 #ifdef __FreeBSD__ | 16 #ifdef __FreeBSD__ |
| 15 # include <libutil.h> | 17 # include <libutil.h> |
| 16 #elif defined(__APPLE__) | 18 #elif defined(__APPLE__) |
| 17 # include <libproc.h> | 19 # include <libproc.h> |
| 18 #endif | 20 #endif |
