Compilation error on types 'int' and 'char' when includind curl library in c++ project

I'm working on c++ project, and using visual-studio 2017.

I took the "curl" library by NuGet, and when I include the file curl/curl.h and rebuild the project, I got some compilation errors:

#include <curl/curl.h>

And the errors are:

1>c:\program files (x86)\windows kits\10\include\10.0.17134.0\shared\minwindef.h(176):
error C2632: 'int' followed by 'int' is illegal 1>c:\program files (x86)\windows kits\10\include\10.0.17134.0\um\winnt.h(431): error
C2632: 'char' followed by 'char' is illegal 1>c:\program files (x86)\windows kits\10\include\10.0.17134.0\um\winnt.h(435): error
C2632: 'int' followed by 'int' is illegal 1>Done building project "myProj.vcxproj" -- FAILED.

Thanks for help.