PHP is usually smart enough to convert "/" to "\" when needed with regard to file-system paths. So you can do...
include '../includes/filename.php';
...and if it's running under windows it will automatically convert those slashes to back-slashes.
If you need for some other purpose to be sure about it (or just generally anal about it 😉 ), you can use the DIRECTORY_SEPARATOR pre-defined constant:
include '..'.DIRECTORY_SEPARATOR.'includes'.DIRECTORY_SEPARATOR.'filename.php';