]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - snmplib/coexistance.c
SourceFormat Enforcement
[thirdparty/squid.git] / snmplib / coexistance.c
index 89a8702012067713bc59615c8697dbcdec8838bc..dd8e209b60baab55096e7ef010c81884a08a6f26 100644 (file)
@@ -27,9 +27,7 @@
  *
  **********************************************************************/
 
-#include "config.h"
-
-#include "config.h"
+#include "squid.h"
 
 #include <stdio.h>
 
 #if HAVE_MEMORY_H
 #include <memory.h>
 #endif
-#ifdef HAVE_STRING_H
+#if HAVE_STRING_H
 #include <string.h>
 #endif
-#ifdef HAVE_STRINGS_H
+#if HAVE_STRINGS_H
 #include <strings.h>
 #endif
 #if HAVE_BSTRING_H
 #include <netdb.h>
 #endif
 
-#include "snmp.h"
 #include "asn1.h"
-#include "snmp_vars.h"
-#include "snmp_pdu.h"
-#include "snmp_error.h"
+#include "snmp.h"
 #include "snmp_api_error.h"
+#include "snmp_error.h"
+#include "snmp_pdu.h"
+#include "snmp_vars.h"
 
 #include "util.h"
 
@@ -109,7 +107,7 @@ snmp_coexist_V2toV1(struct snmp_pdu *PDU)
 
     case SNMP_PDU_GET:
     case SNMP_PDU_GETNEXT:
-#ifdef SNMP_PDU_SET
+#if SNMP_PDU_SET
     case SNMP_PDU_SET:
 #endif
         return (1);