slist.h: add include guards
[deb_libnfs.git] / include / slist.h
index 56c836414dcad24f3997afb288fce9ad50eeedd5..8bb6ca480cdf2740115510fd8e0e100604714b80 100644 (file)
@@ -15,6 +15,9 @@
    along with this program; if not, see <http://www.gnu.org/licenses/>.
 */
 
+#ifndef _LIBNFS_SLIST_H_
+#define _LIBNFS_SLIST_H_
+
 #define SLIST_ADD(list, item) \
        do {                                                    \
                (item)->next = (*list);                         \
@@ -46,6 +49,4 @@
           (*list) = head;                                      \
        }
 
-
-
-
+#endif /* !_LIBNFS_SLIST_H_ */