diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-12-06 12:15:58 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-12-19 08:31:31 +0100 |
commit | cb9c377f54a756b04ef92c1c2e0453613ee863cf (patch) | |
tree | db0ebf64a6b7bddd6cabc626d882402e60ffcab9 /slirp/main.h | |
parent | 7edd63f1b179c18f0f1a4664ddbabe4fe5b2be2f (diff) | |
download | qemu-cb9c377f54a756b04ef92c1c2e0453613ee863cf.tar.gz qemu-cb9c377f54a756b04ef92c1c2e0453613ee863cf.tar.bz2 qemu-cb9c377f54a756b04ef92c1c2e0453613ee863cf.zip |
janitor: add guards to headers
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'slirp/main.h')
-rw-r--r-- | slirp/main.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/slirp/main.h b/slirp/main.h index 1f3b84de92..66e4f9252f 100644 --- a/slirp/main.h +++ b/slirp/main.h @@ -4,6 +4,8 @@ * Please read the file COPYRIGHT for the * terms and conditions of the copyright. */ +#ifndef SLIRP_MAIN_H +#define SLIRP_MAIN_H 1 #ifdef HAVE_SYS_SELECT_H #include <sys/select.h> @@ -45,3 +47,5 @@ extern int tcp_keepintvl; int if_encap(Slirp *slirp, struct mbuf *ifm); ssize_t slirp_send(struct socket *so, const void *buf, size_t len, int flags); + +#endif |