cope with system's <strings.h>

fixes https://github.com/OpenSC/OpenSC/issues/1180
This commit is contained in:
Frank Morgner 2017-10-30 20:02:37 +01:00
parent be35d3d026
commit 4dfa7aa40c
3 changed files with 4 additions and 4 deletions

View File

@ -21,7 +21,7 @@
#ifndef _NOTIFY_H #ifndef _NOTIFY_H
#define _NOTIFY_H #define _NOTIFY_H
#include "strings.h" #include "ui/strings.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -19,7 +19,7 @@
*/ */
#include "libopensc/internal.h" #include "libopensc/internal.h"
#include "strings.h" #include "ui/strings.h"
#include <string.h> #include <string.h>
#include <locale.h> #include <locale.h>

View File

@ -18,8 +18,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
#ifndef _STRINGS_H #ifndef _SC_STRINGS_H
#define _STRINGS_H #define _SC_STRINGS_H
#include "libopensc/pkcs15.h" #include "libopensc/pkcs15.h"