protection for double include of mxml.h or strlcpy.h
This commit is contained in:
@@ -11,6 +11,9 @@
|
||||
|
||||
/*------------------------------------------------------------------*/
|
||||
|
||||
#ifndef _MXML_H_
|
||||
#define _MXML_H_
|
||||
|
||||
#define MXML_NAME_LENGTH 64
|
||||
|
||||
#define ELEMENT_NODE 1
|
||||
@@ -130,4 +133,5 @@ void mxml_basename(char *path);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _MXML_H_ */
|
||||
/*------------------------------------------------------------------*/
|
||||
|
||||
@@ -9,6 +9,9 @@
|
||||
|
||||
\********************************************************************/
|
||||
|
||||
#ifndef _STRLCPY_H_
|
||||
#define _STRLCPY_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
@@ -27,3 +30,5 @@ size_t EXPRT strlcat(char *dst, const char *src, size_t size);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /*_STRLCPY_H_ */
|
||||
|
||||
Reference in New Issue
Block a user