diff options
author | Pavel Roskin <proski@gnu.org> | 2009-07-06 15:13:28 -0400 |
---|---|---|
committer | Thomas Graf <tgr@plip.localdomain> | 2009-07-20 11:47:22 +0200 |
commit | dec2ea357d7f54c986d06a06b8233dd1a7c85245 (patch) | |
tree | f769101b61520c5011178452963a5157119e8b9c /include/netlink/handlers.h | |
parent | ef8ba32e0ca7ac7bbbaf87f6fd7b197af18aed25 (diff) | |
download | libnl-dec2ea357d7f54c986d06a06b8233dd1a7c85245.tar.gz |
Declare struct ucred in handlers.h and netlink.h
Both files refer to it. The sources including those files are not
guaranteed to include sys/socket.h to ensure that struct ucred is
defined.
Diffstat (limited to 'include/netlink/handlers.h')
-rw-r--r-- | include/netlink/handlers.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/netlink/handlers.h b/include/netlink/handlers.h index 266dc44..f373f58 100644 --- a/include/netlink/handlers.h +++ b/include/netlink/handlers.h @@ -25,6 +25,7 @@ extern "C" { struct nl_cb; struct nl_sock; struct nl_msg; +struct ucred; /** * @name Callback Typedefs |