Support real #pragma includes plus fix for dateline wraparound