windows: Add definition of getrusage
getrusage is implemented in lib/getrusage-windows.c.
This patch just adds its definition to include/windows/sys/resource.h,
which serves for files that include <sys/resource.h>.
Acked-by: Sairam Venugopal
/*
- * Copyright (c) 2014 Nicira, Inc.
+ * Copyright (c) 2014, 2017 Nicira, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -48,4 +48,6 @@ struct rusage {
#define RUSAGE_THREAD 3
#endif
+int getrusage(int who, struct rusage *usage);
+
#endif /* sys/resource.h */
