summaryrefslogtreecommitdiff
path: root/scheduler
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2018-12-10 14:53:29 -0500
committerMichael R Sweet <michael.r.sweet@gmail.com>2018-12-10 14:53:29 -0500
commit9dd1bc98cd993fe23f96cabdc0026414704665a9 (patch)
tree3d7abc08030c1079df876917cb6a7f32a62c8e52 /scheduler
parent70bdce1628110ad9313cf7ca7e0c0fdf19585f82 (diff)
downloadcups-9dd1bc98cd993fe23f96cabdc0026414704665a9.tar.gz
Move getifaddrs to a separate header.
Diffstat (limited to 'scheduler')
-rw-r--r--scheduler/Dependencies3
-rw-r--r--scheduler/network.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/scheduler/Dependencies b/scheduler/Dependencies
index a6476c4f0..519ecda61 100644
--- a/scheduler/Dependencies
+++ b/scheduler/Dependencies
@@ -149,7 +149,8 @@ network.o: network.c ../cups/http-private.h ../config.h \
../cups/pwg-private.h ../cups/thread-private.h ../cups/file-private.h \
../cups/ppd-private.h ../cups/ppd.h ../cups/raster.h mime.h sysman.h \
statbuf.h cert.h auth.h client.h policy.h printers.h classes.h job.h \
- colorman.h conf.h banners.h dirsvc.h network.h subscriptions.h
+ colorman.h conf.h banners.h dirsvc.h network.h subscriptions.h \
+ ../cups/getifaddrs-internal.h
policy.o: policy.c cupsd.h ../cups/cups-private.h \
../cups/string-private.h ../config.h ../cups/versioning.h \
../cups/array-private.h ../cups/array.h ../cups/ipp-private.h \
diff --git a/scheduler/network.c b/scheduler/network.c
index f935f648d..5ba00a1fb 100644
--- a/scheduler/network.c
+++ b/scheduler/network.c
@@ -1,7 +1,7 @@
/*
* Network interface functions for the CUPS scheduler.
*
- * Copyright © 2007-2014 by Apple Inc.
+ * Copyright © 2007-2018 by Apple Inc.
* Copyright © 1997-2006 by Easy Software Products, all rights reserved.
*
* Licensed under Apache License v2.0. See the file "LICENSE" for more
@@ -14,6 +14,7 @@
#include <cups/http-private.h>
#include "cupsd.h"
+#include <cups/getifaddrs-internal.h>
/*