util: Avoid use of includes.h
[metze/samba/wip.git] / lib / util / become_daemon.c
index 9979fad569d993aa982d4074761a62f45cc6e95b..1c674d4c918672a36d51db7ef6e4b2170f241a36 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
-#include "includes.h"
+#include "replace.h"
 #include "system/filesys.h"
 #include "system/locale.h"
 #if defined(HAVE_LIBSYSTEMD_DAEMON) || defined(HAVE_LIBSYSTEMD)
 #include <systemd/sd-daemon.h>
 #endif
-#include "lib/util/close_low_fd.h"
+
+#include "close_low_fd.h"
+#include "debug.h"
+
+#include "samba_util.h"
 
 /*******************************************************************
  Close the low 3 fd's and open dev/null in their place.