Prevent inclusion of strings.h as the bcmp/bcopy/bzero defines can cause

syntax errors.


git-svn-id: http://voip.null.ro/svn/yate@2685 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2009-06-04 14:21:19 +00:00
parent 745c7ff8c9
commit 96a7f06550
1 changed files with 4 additions and 0 deletions

View File

@ -59,6 +59,10 @@
#ifndef bzero
#define bzero(s, n) memset ((s), 0, (n))
#endif
#ifndef _STRINGS_H_
/* Prevent inclusion of strings.h as the mess above can cause syntax errors */
#define _STRINGS_H_
#endif
#else
#include <strings.h>
#endif