Merge "master" into "next".
[sliver-openvswitch.git] / lib / timeval.h
index 5ba903e..89abe80 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2008, 2009 Nicira Networks.
+ * Copyright (c) 2008, 2009, 2010 Nicira Networks.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
 #include "type-props.h"
 #include "util.h"
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 struct pollfd;
 struct timeval;
 
@@ -53,4 +57,8 @@ int time_poll(struct pollfd *, int n_pollfds, int timeout);
 
 long long int timeval_to_msec(const struct timeval *);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif /* timeval.h */