How to make IR proximity detector immune to the daylight?
I don't think that using the signal of an LDR can do much because the circuit already 
has some kind of ambient light suppression: it's the high pass filter at capacitor C8.

I agree with MikeJ-UK that the signal probably is saturated by ambient light.

If you just want to get the proximity sensor working with more ambient light 
I'd suggest to put an IR filter in front of the detector.

If this is too easy (or you also have a lot of ambient IR light, e.g. because the sun is shining 
at the detector):
You have to solve the problem of the signal being totally jammed by the ambient light.

Lets suppose the photocurrent caused by the signal is some micro amps or less and the ambient light gives you 
already some 0.1mA there is only a very very small signal voltage at the input voltage divider (D1/R10).
The more current (caused by ambient light) is flowing in the voltage divider, the smaller your singal will be.

Just increasing the amplification doesn't help, because the noise will be amplified too and 
I think you come into regions where signal-to-noise ratio is what you have to take care about.

So instead of having a voltage divider at the detector a better approach would be to utilize a transimpedance amplifier:


Its output voltage is linear to the photo current. 
So this will give you at least constant signal level, no matter how much ambient light you have
(see also this article about this problem by Bob Pease).

Of course this is only true within limits: if your amplifier is jammed, you can't do much.

So the amplification before bandpass filtering must not be too large.
But if you make your bandpass filter narrow enough you 
can do huge amplification afterwards (like in radio receivers).