Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.1:ARM:Staging
hplip
hplip-misc-missing-includes-and-definitions.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File hplip-misc-missing-includes-and-definitions.patch of Package hplip
From 6dd5de8c21284530a7d9716b979812446cc4eb79 Mon Sep 17 00:00:00 2001 From: Martin Wilck <mwilck@suse.com> Date: Wed, 21 Mar 2018 23:56:05 +0100 Subject: [PATCH] hplip: misc missing #includes and definitions --- protocol/discovery/mdns.c | 1 + protocol/discovery/mdns.h | 1 + scan/sane/hpaio.c | 1 + scan/sane/http.c | 1 + 4 files changed, 4 insertions(+) Index: b/protocol/discovery/mdns.c =================================================================== --- a/protocol/discovery/mdns.c +++ b/protocol/discovery/mdns.c @@ -37,6 +37,7 @@ #include <arpa/inet.h> #include "mdns.h" #include <unistd.h> +#include <ctype.h> /* Convert "www.google.com" to "3www6google3com". */ static int mdns_convert_name_to_dns(const char *name, int name_size, char *dns_name) Index: b/protocol/discovery/mdns.h =================================================================== --- a/protocol/discovery/mdns.h +++ b/protocol/discovery/mdns.h @@ -100,5 +100,6 @@ static void mdns_parse_respponse(unsign static void mdns_rr_cleanup(DNS_RECORD *rr); static DNS_RECORD *mdns_read_responses(int udp_socket, int mode); static unsigned char* mdns_readMDL(unsigned char *p, unsigned char *normalized_mdl, int len); +int mdns_probe_nw_scanners(char* uris_buf, int buf_size, int *count); #endif // _DISCOVERY_MDNS_H Index: b/scan/sane/hpaio.c =================================================================== --- a/scan/sane/hpaio.c +++ b/scan/sane/hpaio.c @@ -46,6 +46,7 @@ #include "sclpml.h" #include "escl.h" #include "io.h" +#include "mdns.h" #define DEBUG_DECLARE_ONLY #include "sanei_debug.h" Index: b/scan/sane/http.c =================================================================== --- a/scan/sane/http.c +++ b/scan/sane/http.c @@ -33,6 +33,7 @@ #include <stdio.h> #include <stdlib.h> +#include <unistd.h> #include <string.h> #include <syslog.h> #include <ctype.h>
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor