Revert "apply the logic to tests that include 3rd-party headers"

This reverts commit 9148ea61d5.

No need: curl_setup.h is already included in each source and it
does the undef already.
This commit is contained in:
Viktor Szakats 2025-07-09 03:01:36 +02:00
parent 9148ea61d5
commit cce3d0ab1f
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
7 changed files with 1 additions and 16 deletions

View file

@ -25,8 +25,6 @@
#ifdef HAVE_INET_PTON
#include "curl_mem_undef.h" /* include BEFORE system headers */
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif
@ -34,7 +32,6 @@
#include <arpa/inet.h>
#endif
#include "curl_memory.h"
#include "memdebug.h"
/* to prevent libcurl from closing our socket */

View file

@ -23,8 +23,6 @@
***************************************************************************/
#include "first.h"
#include "curl_mem_undef.h" /* include BEFORE system headers */
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif
@ -36,8 +34,6 @@
#endif
#include "testutil.h"
#include "curl_memory.h"
#include "memdebug.h"
#define RTP_PKT_CHANNEL(p) ((int)((unsigned char)((p)[1])))

View file

@ -23,8 +23,8 @@
***************************************************************************/
#include "unitcheck.h"
#include "curl_mem_undef.h" /* include BEFORE system headers */
#include "tool_xattr.h"
#include "memdebug.h" /* LAST include file */
static CURLcode test_tool1621(char *arg)

View file

@ -23,8 +23,6 @@
***************************************************************************/
#include "unitcheck.h"
#include "curl_mem_undef.h" /* include BEFORE system headers */
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif

View file

@ -23,8 +23,6 @@
***************************************************************************/
#include "unitcheck.h"
#include "curl_mem_undef.h" /* include BEFORE system headers */
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif

View file

@ -23,8 +23,6 @@
***************************************************************************/
#include "unitcheck.h"
#include "curl_mem_undef.h" /* include BEFORE system headers */
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif

View file

@ -23,8 +23,6 @@
***************************************************************************/
#include "unitcheck.h"
#include "curl_mem_undef.h" /* include BEFORE system headers */
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif