REORG: include: move port_range.h to haproxy/port_range{,-t}.h
The port ranges didn't depend on anything. However they were missing
some includes such as stdlib and api-t.h which were added.
diff --git a/include/types/connection.h b/include/types/connection.h
index 3f72855..55f136f 100644
--- a/include/types/connection.h
+++ b/include/types/connection.h
@@ -30,7 +30,7 @@
#include <types/listener.h>
#include <types/obj_type.h>
-#include <types/port_range.h>
+#include <haproxy/port_range-t.h>
#include <haproxy/protocol-t.h>
#include <netinet/in_systm.h>
diff --git a/include/types/fd.h b/include/types/fd.h
index 505291f..66fab44 100644
--- a/include/types/fd.h
+++ b/include/types/fd.h
@@ -24,7 +24,7 @@
#include <haproxy/api-t.h>
#include <import/ist.h>
-#include <types/port_range.h>
+#include <haproxy/port_range-t.h>
/* Direction for each FD event update */
enum {
diff --git a/include/types/port_range.h b/include/types/port_range.h
deleted file mode 100644
index 33455d2..0000000
--- a/include/types/port_range.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- include/types/port_range.h
- This file defines everything needed to manage port ranges
-
- Copyright (C) 2000-2009 Willy Tarreau - w@1wt.eu
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation, version 2.1
- exclusively.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-*/
-
-#ifndef _TYPES_PORT_RANGE_H
-#define _TYPES_PORT_RANGE_H
-
-#include <netinet/in.h>
-
-struct port_range {
- int size, get, put_h, put_t; /* range size, and get/put positions */
- uint16_t ports[0]; /* array of <size> ports, in host byte order */
-};
-
-#endif /* _TYPES_PORT_RANGE_H */
-
-/*
- * Local variables:
- * c-indent-level: 8
- * c-basic-offset: 8
- * End:
- */