Menu

#1 ght_hash_table.h does not know about u_int32_t on FreeBSD

open
nobody
None
5
2007-06-24
2007-06-24
Anonymous
No

u_int32_t is defined in <sys/types.h> on FreeBSD and thus
has to be included in ght_hash_table.h.in for this
platform. The following patch accomplishes this for pslib
0.3.0.

--- src/ght_hash_table.h.in.orig Sun Jun 24 14:12:27 2007
+++ src/ght_hash_table.h.in Sun Jun 24 14:12:45 2007
@@ -60,6 +60,7 @@
#define GHT_HASH_TABLE_H

#include <stdlib.h> /* size_t */
+#if defined(__FreeBSD__)
+#include <sys/types.h>
+#endif

#ifdef __cplusplus
extern "C" {

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.