util: Avoid use of includes.h
authorMartin Schwenke <martin@meltin.net>
Tue, 15 Aug 2017 01:11:39 +0000 (11:11 +1000)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 17 Aug 2017 06:00:23 +0000 (08:00 +0200)
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Andreas Schneider <asn@samba.org>
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.