summaryrefslogtreecommitdiff
path: root/src/get_gateway.c
blob: 7b0419482d1658e255c26dc46a21208321ac973d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * ZMap Copyright 2013 Regents of the University of Michigan
 *
 * XMap Copyright 2021 Xiang Li from Network and Information Security Lab
 * Tsinghua University
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy
 * of the License at http://www.apache.org/licenses/LICENSE-2.0
 */

#include "get_gateway.h"

#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__) ||       \
    defined(__DragonFly__)

#include "get_gateway-bsd.h"

#else // (linux)
#include "get_gateway-linux.h"
#endif