Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libdm - Has __BEGIN_DECLS so needs sys/cdefs.h;



details:   https://anonhg.NetBSD.org/src/rev/fc9340fe7709
branches:  trunk
changeset: 813228:fc9340fe7709
user:      dholland <dholland%NetBSD.org@localhost>
date:      Fri Jan 22 22:11:28 2016 +0000

description:
- Has __BEGIN_DECLS so needs sys/cdefs.h;
- Needs stddef.h and stdint.h to be compilable on its own

diffstat:

 lib/libdm/dm.h |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (14 lines):

diff -r e181db5a457a -r fc9340fe7709 lib/libdm/dm.h
--- a/lib/libdm/dm.h    Fri Jan 22 22:03:54 2016 +0000
+++ b/lib/libdm/dm.h    Fri Jan 22 22:11:28 2016 +0000
@@ -31,6 +31,10 @@
 #ifndef _LIB_DM_H_
 #define _LIB_DM_H_
 
+#include <sys/cdefs.h>
+#include <stddef.h>
+#include <stdint.h>
+
 __BEGIN_DECLS
 
 #define DM_DEVICE_PATH "/dev/mapper/control"



Home | Main Index | Thread Index | Old Index