Ticket 49298 - fix missing header
Bug Description: While adding fsync to dirs for 49298 I
missed a compiler warning (there were many other shadow warns).
Fix Description: Add the missing header.
https://pagure.io/389-ds-base/issue/49298
Author: wibrown
Review by: one line rule
(cherry picked from commit 3abcd685cfa4784715e97957b13eaef14ffe47c9)