diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-09-15 01:55:16 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-09-15 01:55:16 -0700 |
commit | 9300f2bc09f4986de0ed6c9c6f426595fb47d429 (patch) | |
tree | 9216c84b4ce0ee2a2aee253b2a28715e0e755142 /cmake | |
parent | d524c36a5f1baca5a973dacc6479633b21811f5d (diff) |
Move have_siocglifconf.c to the cmake directory.
It's used by CMake, so put it in the cmake directory along with other
CMake-related stuff.
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/have_siocglifconf.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cmake/have_siocglifconf.c b/cmake/have_siocglifconf.c new file mode 100644 index 00000000..5a67abc1 --- /dev/null +++ b/cmake/have_siocglifconf.c @@ -0,0 +1,6 @@ +#include <sys/ioctl.h> +#include <sys/socket.h> +#include <sys/sockio.h> +int main() { + ioctl(0, SIOCGLIFCONF, (char *)0); +} |