[haiku-commits] r42468 - haiku/trunk/headers/compatibility/bsd/netinet
- From: axeld@xxxxxxxxxxxxxxxx
- To: haiku-commits@xxxxxxxxxxxxx
- Date: Sat, 23 Jul 2011 17:41:48 +0200 (CEST)
Author: axeld
Date: 2011-07-23 17:41:47 +0200 (Sat, 23 Jul 2011)
New Revision: 42468
Changeset: https://dev.haiku-os.org/changeset/42468
Modified:
haiku/trunk/headers/compatibility/bsd/netinet/in_systm.h
Log:
* Added definitions for n_short, n_long, and n_time as expected on FreeBSD when
including in_systm.h
Modified: haiku/trunk/headers/compatibility/bsd/netinet/in_systm.h
===================================================================
--- haiku/trunk/headers/compatibility/bsd/netinet/in_systm.h 2011-07-23
14:38:48 UTC (rev 42467)
+++ haiku/trunk/headers/compatibility/bsd/netinet/in_systm.h 2011-07-23
15:41:47 UTC (rev 42468)
@@ -0,0 +1,17 @@
+/*
+ * Copyright 2011, Haiku, Inc. All Rights Reserved.
+ * Distributed under the terms of the MIT License.
+ */
+#ifndef _NETINET_IN_SYSTM_H_
+#define _NETINET_IN_SYSTM_H_
+
+
+#include <stdint.h>
+
+
+typedef uint16_t n_short;
+typedef uint32_t n_long;
+typedef uint32_t n_time;
+
+
+#endif /* _NETINET_IN_SYSTM_H_ */
Other related posts:
- » [haiku-commits] r42468 - haiku/trunk/headers/compatibility/bsd/netinet - axeld