freebsd-ports/audio/libofa/files/patch-examples__protocol.cpp
Sunpoet Po-Chuan Hsieh 649c91b19f - Fix build with curl 7.24.0: curl/types.h was removed (unused since Apr 2004)
- Pet portlint

PR:		ports/165683
Notified by:	makc
Submitted by:	sunpoet (myself)
Approved by:	Jason E. Hale <bsdkaffee@gmail.com> (maintainer)
2012-03-04 12:15:53 +00:00

15 lines
436 B
C++

--- ./examples/protocol.cpp.orig 2011-03-18 11:01:22.000000000 -0400
+++ ./examples/protocol.cpp 2011-03-18 11:01:22.000000000 -0400
@@ -8,11 +8,11 @@
-------------------------------------------------------------------*/
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <string>
#include <map>
#include <expat.h>
#include <curl/curl.h>
-#include <curl/types.h>
#include <curl/easy.h>
using namespace std;