Added header/trailer '#ifndef..#define... (body) ... #endif
authoraland <aland>
Thu, 22 Mar 2001 16:54:24 +0000 (16:54 +0000)
committeraland <aland>
Thu, 22 Mar 2001 16:54:24 +0000 (16:54 +0000)
so that the header file can be included multiple times without
it puking.

As an aside, this really should be 'rlm_sql_conf.h', as there's
already a 'conf.h' in the source tree.

src/modules/rlm_sql/conf.h

index 8d02af9..af572b7 100644 (file)
@@ -1,3 +1,5 @@
+#ifndef SQL_CONF_H
+#define SQL_CONF_H
 /***************************************************************************
 *  conf.h                             rlm_sql - FreeRADIUS SQL Module      *
 *                                                                          *
@@ -77,3 +79,5 @@ typedef struct sql_config {
 #define MAX_TABLE_LEN                  20
 #define MAX_AUTH_QUERY_LEN             256
 #define AUTH_STRING_LEN                        128
+
+#endif /* SQL_CONF_H */