From 245cec221fd0abc7531083904ebf44abe29b857b Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Feb 23 2017 17:02:39 +0000 Subject: Include missing header file The header file stdint.h was probably included by other header file on fedora. In file included from src/ipa.c:41:0: src/srvloc.h:23:2: error: unknown type name 'uint16_t' uint16_t port; configure was executed with following parameters CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wextra -Wno-unused-parameter -g3 -O0' --libexecdir=/usr/lib --with-tmpdir=/var/run/certmonger --enable-systemd --enable-pie --enable-now --enable-tmpfiles Signed-off-by: Nalin Dahyabhai --- diff --git a/src/srvloc.h b/src/srvloc.h index 99c5b0f..1d07543 100644 --- a/src/srvloc.h +++ b/src/srvloc.h @@ -18,6 +18,8 @@ #ifndef cmsrvloc_h #define cmsrvloc_h +#include + struct cm_srvloc { char *host; uint16_t port;