[1a/6] Installed-header hygiene (BZ#20366): Missing inclusions.
Commit Message
A very few headers did not include all of their prerequisite
headers.
* rpcsvc/nislib.h: Include rpcsvc/nis.h.
* sysdeps/unix/sysv/linux/netrose/rose.h:
Include sys/socket.h and netax25/ax25.h.
---
nis/rpcsvc/nislib.h | 2 +-
sysdeps/unix/sysv/linux/netrose/rose.h | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
@@ -19,7 +19,7 @@
#ifndef __RPCSVC_NISLIB_H__
#define __RPCSVC_NISLIB_H__
-#include <features.h>
+#include <rpcsvc/nis.h>
__BEGIN_DECLS
@@ -21,6 +21,9 @@
#ifndef _NETROSE_ROSE_H
#define _NETROSE_ROSE_H 1
+#include <sys/socket.h>
+#include <netax25/ax25.h>
+
/* Socket level values. */
#define SOL_ROSE 260