nghttp2: use <> for include glib.h

Change-Id: I6fdb72322dca514a774ab074c26128f70992a8f7
Reviewed-on: https://code.wireshark.org/review/8476
Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
Alexis La Goutte 2015-05-15 18:54:49 +02:00 committed by Michael Mann
parent 53b7a059a2
commit bcc3912a73
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ find . -name "nghttp2*" -type f -exec sed -i 's/ntoh/g_ntoh/g' {} \;
find . -name "nghttp2*" -type f -exec sed -i 's/hton/g_hton/g' {} \;
Use glib.h and no nghttp2_net.h for ntoh/hton
find . -name "nghttp2*" -type f -exec sed -i 's/"nghttp2_net.h"/"glib.h"/g' {} \;
find . -name "nghttp2*" -type f -exec sed -i 's/"nghttp2_net.h"/<glib.h>/g' {} \;
Fix c++-compat error and documentation (struct => typedef) error

View File

@ -27,7 +27,7 @@
#include <assert.h>
#include <string.h>
#include "glib.h"
#include <glib.h>
void nghttp2_put_uint16be(uint8_t *buf, uint16_t n) {
uint16_t x = g_htons(n);