Any file which includes smux.h can't compile without the SNMP
authornbk <nbk>
Thu, 17 Mar 2005 12:32:35 +0000 (12:32 +0000)
committernbk <nbk>
Thu, 17 Mar 2005 12:32:35 +0000 (12:32 +0000)
header files

src/include/smux.h

index e341a1e..0b29e9f 100644 (file)
 #ifndef _SMUX_H
 #define _SMUX_H
 
+#ifdef HAVE_ASN1_SNMP_SNMPIMPL_H
+#include <asn1.h>
+#include <snmp.h>
+#include <snmp_impl.h>
+#else
+# ifdef HAVE_UCD_SNMP_ASN1_SNMP_SNMPIMPL_H
+# include <ucd-snmp/ucd-snmp-config.h>
+# include <ucd-snmp/asn1.h>
+# include <ucd-snmp/snmp.h>
+# include <ucd-snmp/snmp_impl.h>
+# endif
+#endif
+
 #define SMUX_PORT_DEFAULT 199
 
 #define SMUXMAXPKTSIZE    1500