fix #76: get returns NOTFOUND on TIMEOUT
[awesomized/libmemcached] / src / libmemcached / byteorder.h
index 30c393e9f1955f2f3e0c5583f78dc5d41a5c49d0..b0ed7e6f635ce0005a4936addbfe7cea37d79751 100644 (file)
@@ -1,6 +1,6 @@
 /*
     +--------------------------------------------------------------------+
-    | libmemcached - C/C++ Client Library for memcached                  |
+    | libmemcached-awesome - C/C++ Client Library for memcached          |
     +--------------------------------------------------------------------+
     | Redistribution and use in source and binary forms, with or without |
     | modification, are permitted under the terms of the BSD license.    |
@@ -9,16 +9,20 @@
     | the terms online at: https://opensource.org/licenses/BSD-3-Clause  |
     +--------------------------------------------------------------------+
     | Copyright (c) 2006-2014 Brian Aker   https://datadifferential.com/ |
-    | Copyright (c) 2020 Michael Wallner   <mike@php.net>                |
+    | Copyright (c) 2020-2021 Michael Wallner        https://awesome.co/ |
     +--------------------------------------------------------------------+
 */
 
 #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);