projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
drop [] from address, commonly used for IPv6
[awesomized/libmemcached]
/
src
/
libmemcached
/
byteorder.h
diff --git
a/src/libmemcached/byteorder.h
b/src/libmemcached/byteorder.h
index 30c393e9f1955f2f3e0c5583f78dc5d41a5c49d0..36d3f1016ddd94b0bece382f1267ed052add5dc4 100644
(file)
--- a/
src/libmemcached/byteorder.h
+++ b/
src/libmemcached/byteorder.h
@@
-16,9
+16,13
@@
#pragma once
#ifdef __cplusplus
+# include <cstdint>
extern "C" {
+#else
+# include <stdint.h>
#endif
+
uint64_t memcached_ntohll(uint64_t);
uint64_t memcached_htonll(uint64_t);