Skip to content

Commit cd6894b

Browse files
committed
Add include guards to pygetdns.h
1 parent f79728e commit cd6894b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pygetdns.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3030
*/
3131

32+
#ifndef PYGETDNS_H
33+
#define PYGETDNS_H
3234

3335
#define GETDNS_STR_IPV4 "IPv4"
3436
#define GETDNS_STR_IPV6 "IPv6"
@@ -130,3 +132,5 @@ PyObject *dispatch_query(PyObject *context_capsule, void *name, uint16_t request
130132
PyObject *dispatch_query(PyObject *context_capsule, void *name, uint16_t request_type,
131133
PyDictObject *extensions_obj, void *userarg, long tid, char *callback);
132134
#endif
135+
136+
#endif /* PYGETDNS_H */

0 commit comments

Comments
 (0)